Re:New JSON query operators in SQLite 3.38.0
by jrochkind1 on Monday February 28, 2022 @05:30PM
(#30506067)
I also didn't realize MySQL supported these JSON query operators now, huh. Since MySQL 2.7.9 in 2015 apparently? Not that new!
https://dev.mysql.com/doc/refman/5.7/en/json-search-function...
Re:New JSON query operators in SQLite 3.38.0
by jrochkind1 on Sunday February 27, 2022 @06:10PM
(#30493804)
Nice, thanks!
In the older version of the proposal, -> was identical to ->> except -> returned NULL on malformed JSON (while ->> raised an error). Both -> and ->> would automatically convert a JSON-encoded SQL string '"like this"' into an SQL string 'like this'. This is not how the -> operator behaves in Postgres and MySQL, and my examples were simply trying to point out that incompatibility.