... while libSQL allows them in queries (and so does SQLite). true and false are just syntactic sugar over 1 and 0 respectively, and they have the INTEGER type.
curl -X POST -d '{"statements": [{"q": "select ?", "params": [true]}]}' https://psarna:XXXXXXXX@iku-turso-fb23ee23-a168-11ed-b49c-22877fad227e-primary.fly.dev
{"error":"invalid type: boolean `true`, expected a valid SQLite value at line 1 column 49"}
... while libSQL allows them in queries (and so does SQLite).
true
andfalse
are just syntactic sugar over 1 and 0 respectively, and they have theINTEGER
type./cc @MarinPostma