sqlite3
sqlite3 copied to clipboard
The fastest and correct SQLite3 module for Deno runtime
import { Database } from "https://deno.land/x/[email protected]/mod.ts"; // Open a database export const client = new Database("../tolol.db"); info : deno --version deno 1.23.3 (release, x86_64-unknown-linux-gnu) v8 10.4.132.8 typescript 4.7.4 error message...
```js import { Database } from "https://deno.land/x/[email protected]/mod.ts"; const db = new Database("./files/dist/northwind.db"); const a = db.query("SELECT * FROM \"Employees\""); console.log(a); db.close(); ``` 
Goals: - Optimize for fastapi calls - Take inspiration from `better-sqlite3` (Node.js) API as it is simple and concise Previously:  Now: 
Why does this library not come with a bundled version of the SQLite3 dynamic library? Especially in a system like deno, where the versions and locations of all other dependencies...
I was testing the same project on Windows and Linux found the Linux version of this module does not support some syntax: ```ts // deno run --allow-all --unstable test.ts import...
It's a topic that has been brought up every now and then in the Deno DB community, but as Deno is becoming more stable, supports NPM and Node, and we...
I would like to bundle my own sqlite library, and setting the env variable is not viable. Can I pass it to the Database constructor or another config function?
Jan05-2039.ts ``` import { Database } from "https://deno.land/x/sqlite3/mod.ts"; const db = new Database(":memory:"); const sqlQuery = Deno.args[0]; const stmt = db.prepare(sqlQuery); const result = stmt.all(); for (const row of result)...
Hi! I am trying to use this library by passing `--allow-ffi=THING` where `THING` is the value I am passing to `DENO_SQLITE_PATH`. The script fails with the following error ``` error:...