In general, I agree, though pg's JSONB is effectiuvely hstore2 so its performance is surprisingly good.
This example didn't involve a JSON column in the database at all though, I was talking about turning native database rows into json data - so given tables like users(id, name) and posts(post_id, author_id, title, body) (apologies for pseudocodish rendering) instead of
This example didn't involve a JSON column in the database at all though, I was talking about turning native database rows into json data - so given tables like users(id, name) and posts(post_id, author_id, title, body) (apologies for pseudocodish rendering) instead of
you'd instead get so on the application side you'd just deal with (for each row) something like and the 'posts' variable would be an array of objects with 'post_id', 'title' and 'body' keys.