UPSERT syntax was added to SQLite with version 3.24.0 (2018-06-04).
Since this is not a first time, when we get errors because of old SQLite version, it would be nice, to add 2.6.0 SQLite version to the CI, so that we would not miss such errors next time.
Another option, would be to use pysqlite-binary, which comes with a newer SQLite version:
When running
spinta push
command, I got following error:I think, this might be related to SQLite version:
Most servers run very old SQLite version and we don't have any requirements, for SQLite version. Maybe it is possible to use less fancy SQL query?
SQLite documentation says:
Since this is not a first time, when we get errors because of old SQLite version, it would be nice, to add 2.6.0 SQLite version to the CI, so that we would not miss such errors next time.
Another option, would be to use
pysqlite-binary
, which comes with a newer SQLite version:https://github.com/pysqlite3/pysqlite3
Related