SQLite is a simple wrapper around GRDB.
This library started its life as a simple Swift wrapper around SQLite focused on allowing clients to subscribe to specific SQL queries and receive updates via Combine publishers whenever the query results changed. As time went on, though, the maintainer of this library focused his attention elsewhere. Meanwhile, GRDB continued to improve. Starting in August 2023, the maintainer of this library decided to replace the majority of its internals with GRDB, while keeping most of the external API and behavior of SQLite consistent.
To use SQLite with the Swift Package Manager, add a dependency to your Package.swift file:
let package = Package(
dependencies: [
.package(
url: "https://github.com/shareup/sqlite.git",
from: "21.0.0"
)
]
)
The license for SQLite is the standard MIT licence. You can find it in the LICENSE
file.
The license for GRDB is the standard MIT license. You can find it here.