Closed kiranandcode closed 2 years ago
Use TEXT
instead of STRING
. STRING
is not a sqlite3 data type, and sqlite3 is very loose with types. You will get the same behavior if you replace STRING
with QUUX
.
Note that a declared type of "FLOATING POINT" would give INTEGER affinity, not REAL affinity, due to the "INT" at the end of "POINT". And the declared type of "STRING" has an affinity of NUMERIC, not TEXT.
Ah, I see thanks for the prompt response, mea culpa. I should have double checked the SQLite3 page.
See title (using Caqti version 1.7.0, Sqlite3 version 3.34.1 2021-01-20 14:10:07)
Minimized example of code triggering the error:
prints out the following: