Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightql

Very thin and light SQLITE library for zig.

Installation

Currently zig does not support nested submodules, the recommended way is to add lightql as a submodule.

git submodule add git@github.com:Didas-git/lightql.git

Currently you also need to compile sqlite yourself, this is temporary until I figure out how to build sqlite in zig.

Go to the sqlite submodule inside the lightql's submodule and do the following:

apt install gcc make tcl-dev
./configure
make sqlite3.c

In your build.zig.zon file add the following:

.dependencies = .{
    .lightql = .{
        .path = "lightql", // or the path you saved lightql to
    },
},

And import it on your build.zig file:

const lightql = b.dependency("lightql", .{
    .target = target,
    .optimize = optimize,
});

exe.root_module.addImport("lightql", lightql.module("lightql"));

About

Very thin and light SQLITE library for zig

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages