No description
Find a file
2026-05-30 21:31:29 -04:00
bindings add Open_Flags, exec, open, open_v2 2026-05-30 00:28:08 -04:00
lib initial import 2026-05-29 23:11:03 -04:00
LICENSE Add LICENSE 2026-05-30 15:04:00 +00:00
README.md Update README.md 2026-05-30 15:05:14 +00:00
sqlite3.odin more binding funcs 2026-05-30 21:31:29 -04:00

Odin-SQLite3

This is a bindings package for libsqlite3.

The toplevel package contains a (currently incomplete) wrapper that provides access to libsqlite3 through a mildly opinionated but much more Odin-friendly API. The "raw" bindings are available with import sqlite "sqlite3/bindings".

The bindings were generated using odin-c-bindgen from Karl Zylinski and touched up slightly by hand. A huge thanks is owed to Karl for this tool. Thank you.

The prebuilt static library in lib/libsqlite3.a was built on Linux using GCC. If you wish, you can edit bindings/sqlite3_bindings.odin and substitute your own build. I may later add a source copy and build script to this repo for security-conscious folks who (rightfully) don't trust prebuilt libraries.

Licensing

The SQLite library is redistributed here under the public doman. For more information see this page.

This bindings package is distributed under the zLib license.

Do as thou wilt shall be the whole of the law.