ThinkSQL
is an amalgam of several of my favorite Swift SQLite wrapper frameworks.
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/wildthink/think-sql.git", .upToNextMajor(from: "1.0.0"))
]
)
- Supports Combine Publishing and SwiftUI integration
- Supports Codable types "out-of-the-box"
- Easy to pick between system and custom Sqlite3 (sqlite.c) library
- Support multiple embedded database options
- Schema enabled
- Extend Coders with DBValue <-> Type transformers
- Entity-Component-System support