qaz@lemmy.world to Programmer Humor@programming.devEnglish · 19 hours agoWho needs MongoDB when you have JSONB?lemmy.worldexternal-linkmessage-square43fedilinkarrow-up1219arrow-down12
arrow-up1217arrow-down1external-linkWho needs MongoDB when you have JSONB?lemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 19 hours agomessage-square43fedilink
minus-squarefxdave@lemmy.mllinkfedilinkarrow-up15·edit-217 hours agoThat’s not the point of JSONB. Use normalized tables whenever you can. JSONB allows you to store a document with unknown structure, and it allows you to access that data within SQL.
minus-squareSimulation6@sopuli.xyzlinkfedilinkarrow-up2·16 hours agoI probably have just run into a bad example of its use. I can see it being useful for unknown documents.
That’s not the point of JSONB. Use normalized tables whenever you can. JSONB allows you to store a document with unknown structure, and it allows you to access that data within SQL.
I probably have just run into a bad example of its use. I can see it being useful for unknown documents.