An example backend for sqlite
0

Configure Feed

Select the types of activity you want to include in your feed.

Zig 100.0%
3 1 0

Clone this repository

https://tangled.org/poecoh.com/jetkv-SQLite https://tangled.org/did:plc:ls3pgolnjtn75kpo6dluruhv
git@knot.poecoh.com:poecoh.com/jetkv-SQLite git@knot.poecoh.com:did:plc:ls3pgolnjtn75kpo6dluruhv

For self-hosted knots, clone URLs may differ based on your setup.



README.md

SQLite Backend#

This is an example backend for JetKV.

It can be used by inserting it into jetkv:

const jetkv = @import("jetkv");
const SQLite = @import("SQLite");
var kv = jetkv.KV(SQLite{
    .path = "/tmp/example.db",
    .truncate = true,
}).init(io, allocator);