@rcrsr/rill-ext-kv-sqlite
v0.19.1
Published
rill extension for SQLite key-value storage backend
Maintainers
Readme
@rcrsr/rill-ext-kv-sqlite
rill extension for SQLite key-value storage. Provides persistent key-value operations backed by SQLite for large datasets and concurrent access.
Install
npm install @rcrsr/rill-ext-kv-sqliteQuick Start
rill-config.json
{
"main": "app.rill",
"extensions": {
"mounts": {
"kv": "@rcrsr/rill-ext-kv-sqlite"
},
"config": {
"kv": {
"mounts": {
"user": {
"mode": "read-write",
"database": "./data/app.db",
"table": "user_state"
}
}
}
}
}
}app.rill
use<ext:kv> => $kv
$kv.set("user", "name", "Alice")
$kv.get("user", "name") -> logrill-runDocumentation
See full documentation for configuration, functions, mount options, and error handling.
License
MIT
