4 ms·
Question: How easy / hard is it to replace a SQL query with a join, to a SQL query that returns a JSON object? (IE, a foreign key relationship is turned into a
by gwbas1c 1y ago
Question: How easy / hard is it to replace a SQL query with a join, to a SQL query that returns a JSON object? (IE, a foreign key relationship is turned into a JSON array.)
- datadrivenangel 1y agoAs in return the relation behind the join or return the results of that as a json object? The latter is easy with SQLites JSON support.
- marcobambini 1y agoSQLite has built-in JSON support: https://www.sqlite.org/json1.html https://www.sqlite.org/json1.html