Swiftpack.co - vapor/sqlite-kit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by vapor.
vapor/sqlite-kit 4.2.0
Non-blocking SQLite client library with SQL builder built on SwiftNIO
⭐️ 51
🕓 3 weeks ago
iOS macOS linux macOS iOS
.package(url: "https://github.com/vapor/sqlite-kit.git", from: "4.2.0")

SQLiteKit

Documentation Team Chat MIT License Continuous Integration Swift 5.2

GitHub

link
Stars: 51
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Modernize SQLite feature support
3 weeks ago
This patch was authored and released by @gwynne.

The following changes have been made:

  • SQLiteDatabase now vends the version of SQLite in use per the SQLDatabaseReportedVersion protocol.
  • UPSERT syntax is now available for SQLite when the runtime library version is new enough (3.24.0 or newer)
  • RETURNING syntax 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 ?NNN syntax is now used instead of plain ? placeholders.
  • Requests to create columns of type .bigint (via SQLCreateTable or Fluent's SchemaBuilder) now map explicitly to the INTEGER type 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.int or 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.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics