qaz@lemmy.world to Programmer Humor@programming.devEnglish · 5 个月前Who needs MongoDB when you have JSONB?lemmy.worldimagemessage-square46fedilinkarrow-up1316arrow-down13
arrow-up1313arrow-down1imageWho needs MongoDB when you have JSONB?lemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 5 个月前message-square46fedilink
minus-squarefxdave@lemmy.mllinkfedilinkarrow-up18·edit-25 个月前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.
minus-squareSimulation6@sopuli.xyzlinkfedilinkarrow-up2·5 个月前I 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.