• fxdave@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    17 hours ago

    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.

    • Simulation6@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      16 hours ago

      I probably have just run into a bad example of its use. I can see it being useful for unknown documents.