by KingOfCoders · 6y ago · 0 comments
Having worked with MongoDB for 5+ years now back to PostgreSQL, I do like SQL so much more than a custom query language. I would wish JSON would be better integrated in SQL, it kind of feels like an addon not the core. Otherwise SQL is a fine language.
Also I can leverage 20y of SQL.
https://edgedb.com/docs/datamodel/scalars/json#type::std::js...
SELECT to_json('{"hello": "world"}');
it would be
SELECT {"hello": "world"};