https://github.com/sbooth/csqlite
SQLite packaged for the Swift Package Manager
https://github.com/sbooth/csqlite
sqlite swift
Last synced: 15 days ago
JSON representation
SQLite packaged for the Swift Package Manager
- Host: GitHub
- URL: https://github.com/sbooth/csqlite
- Owner: sbooth
- License: other
- Created: 2021-05-30T13:40:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-07T22:31:50.000Z (21 days ago)
- Last Synced: 2025-05-07T23:27:50.458Z (21 days ago)
- Topics: sqlite, swift
- Language: C
- Homepage:
- Size: 4.48 MB
- Stars: 20
- Watchers: 3
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# CSQLite
[](https://swiftpackageindex.com/sbooth/CSQLite)
[](https://swiftpackageindex.com/sbooth/CSQLite)[SQLite](https://sqlite.org/index.html) packaged for the [Swift Package Manager](https://swift.org/package-manager/).
The package contains the [SQLite amalgamation](https://sqlite.org/amalgamation.html) built using the [recommended compile-time options](https://sqlite.org/compile.html#recommended_compile_time_options).
The default build configuration includes the [FTS5 extension](https://sqlite.org/fts5.html), built-in [SQL math functions](https://sqlite.org/lang_mathfunc.html), the [R\*Tree index extension](https://sqlite.org/rtree.html), [database snapshots](https://sqlite.org/c3ref/snapshot.html), [sqlite_stmt table](https://www.sqlite.org/stmt.html), and the [sqlite_stat4 table](https://sqlite.org/fileformat2.html#stat4tab).
Additionally, the [carray](https://sqlite.org/carray.html), [decimal](https://sqlite.org/floatingpoint.html#the_decimal_c_extension), [ieee754](https://sqlite.org/floatingpoint.html#the_ieee754_c_extension), [percentile](https://www.sqlite.org/src/file/ext/misc/percentile.c), [series](https://www.sqlite.org/src/file/ext/misc/series.c), [sha3](https://www.sqlite.org/src/file/ext/misc/shathree.c), and [uuid](https://www.sqlite.org/src/file/ext/misc/uuid.c) extensions are statically linked.
The package also includes [shims](Sources/CSQLite/include/csqlite_shims.h) for various C functions not easily accessible from Swift.
## License
SQLite is in the [public domain](https://sqlite.org/copyright.html).