justjosias / sqlite-zig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqlite.zig

This repository has zig bindings for sqlite. It trys to make the sqlite c API more ziggish.

Usage

Add src/sqlite.zig as a package in your build.zig, and then add the sqlite and c libraries:

example.addPackagePath("sqlite", "path/to/deps/sqlite/src/sqlite.zig");
example.linkSystemLibrary("sqlite3");
example.linkSystemLibrary("c");

Make sure you have sqlite3 installed on you system.

sqlite.zig works with zig 0.6.0.

Examples

TODO

About


Languages

Language:Zig 99.6%Language:Nix 0.4%