sqlite3
sqlite3 copied to clipboard
The fastest and correct SQLite3 module for Deno runtime
deno_sqlite
Fast, native bindings to SQLite3 C API, using Deno FFI.
import { Database } from "https://deno.land/x/[email protected]/mod.ts";
const db = new Database("test.db");
const [version] = db.queryArray("select sqlite_version()")[0];
console.log(version);
db.close();
Documentation
Check out the documentation here.
Native Library
By default, this module will look for existing SQLite3 dynamic library on your
path, which is sqlite3.dll on Windows, libsqlite3.so on Linux, and
libsqlite3.dylib on macOS. If the library you want to use is not on path, then
you can use the DENO_SQLITE_PATH environment variable. You will have to
install SQLite3 separately if it's not already installed, since it is not
bundled with this module.
Related
- x/sqlite, WASM based.
- async-sqlite3, asynchronous
SQLite3 bindings using
rusqlite.
License
Check LICENSE for details.
Copyright © 2022 DjDeveloperr