Non-blocking SQLite client library with SQL builder built on SwiftNIOvapor/sqlite-kit
This patch was authored and released by @gwynne.
The following changes have been made:
SQLiteDatabasenow vends the version of SQLite in use per the
UPSERTsyntax is now available for SQLite when the runtime library version is new enough (3.24.0 or newer)
RETURNINGsyntax is now available for SQLite when the runtime library version is new enough (3.35.0 or newer)
- When emitting placeholders for bound parameters, the numbered
?NNNsyntax is now used instead of plain
- Requests to create columns of type
SchemaBuilder) now map explicitly to the
INTEGERtype name, which has the same data size but will correctly enable auto-increment behavior if the column is a table's primary key (previously this only worked when specifying
SQLDataType.intor Fluent equivalent).
- Dropped support for Swift up to and including 5.4, 5.5 is now the minimum.
- CI was heavily updated, with the same changes as were made to SQLiteNIO.
These changes depend on vapor/sqlite-nio#34.