|
|
|
|
|
by nbbaier
638 days ago
|
|
> I hope SQLite3 can implement SQL/JSON soon too. I have a library of compatability functions to generate the appropriate JSON operations depending on if it's SQLite3 or PostgreSQL. And it'd be nice to reduce the number of incompatibilities over time. Is this available anywhere? Super interested |
|
The most useful part is doing set intersection operations on JSON array's. Probably the second is extracting a value by path across both.
It's not crazy to implement, SQLite was the harder side. Just a bit of fiddling with `json_each`, EXISTS, and aggregate functions.