JPDev@programming.dev to Programmer Humor@programming.dev · 1 year agoJSON Query Languageprogramming.devimagemessage-square33linkfedilinkarrow-up1654arrow-down117
arrow-up1637arrow-down1imageJSON Query Languageprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square33linkfedilink
minus-squareShawiniganHandshake@sh.itjust.workslinkfedilinkarrow-up1·1 year agoPostgres has JSON operators you can put into expressions, including WHERE clauses. You can write queries like: SELECT item_details->‘manufacturer’->‘location’ FROM inventory WHERE item_details->‘material’ = “concrete”; Storing data in JSON columns has other trade-offs, though.
Postgres has JSON operators you can put into expressions, including WHERE clauses. You can write queries like:
SELECT item_details->‘manufacturer’->‘location’ FROM inventory WHERE item_details->‘material’ = “concrete”;
Storing data in JSON columns has other trade-offs, though.