sqlite3 icon indicating copy to clipboard operation
sqlite3 copied to clipboard

The fastest and correct SQLite3 module for Deno runtime

Results 27 sqlite3 issues
Sort by recently updated
recently updated
newest added

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(); ``` ![image](https://user-images.githubusercontent.com/56601352/186760840-0c320e16-2063-4d4c-b484-c971a47d2571.png)

Goals: - Optimize for fastapi calls - Take inspiration from `better-sqlite3` (Node.js) API as it is simple and concise Previously: ![image](https://user-images.githubusercontent.com/43033058/185801895-63d14ab4-3697-4429-87a5-6542154ca156.png) Now: ![image](https://user-images.githubusercontent.com/43033058/185802254-a5748ec0-c373-46ab-be89-cd113fa6e7c7.png)

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...

help wanted

https://www.sqlite.org/backup.html

enhancement

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...

enhancement

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:...