Fast SQLite3 driver for Bun.js
v0.0.83
import { Database } from 'bun:sqlite';var db = new Database('app.db');db.query('SELECT * FROM users WHERE name = ?').all('John');// => [{ id: 1, name: 'John' }]
The following types can be used when binding parameters:
string
TEXT
number
INTEGER
DECIMAL
boolean
Uint8Array
BLOB
Buffer
bigint
null
NULL
Generated using TypeDoc
Fast SQLite3 driver for Bun.js
Since
v0.0.83
Example
The following types can be used when binding parameters:
string
TEXT
number
INTEGER
orDECIMAL
boolean
INTEGER
(1 or 0)Uint8Array
BLOB
Buffer
BLOB
bigint
INTEGER
null
NULL