Swiftpack.co - shareup/sqlite as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by shareup.
shareup/sqlite v16.1.0
SQLite.Database is a simple Swift wrapper around SQLite
⭐️ 12
🕓 2 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/shareup/sqlite.git", from: "v16.1.0")


Swift License Build


SQLite is a simple Swift wrapper around SQLite. It is intended to act as an introduction to SQLite for Swift developers. You can read more about that here. Database allows developers to use pure SQL to access or modify their database without forcing them to deal with all the tiresome minutia involved in configuring SQLite databases and queries or converting from Swift types to the C types that SQLite expects.


Swift Package Manager

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", .upToNextMajor(from: "16.0.0"))


The license for Database is the standard MIT licence. You can find it in the LICENSE file.



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

Release Notes

2 weeks ago

Adds ability to enable or disable SQLite's foreign key support.

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