database
Source: lib/database.js
A thin promise-free wrapper over the sqlite module: Database with prepare(), query(), run() and close(), and Statement with all(), get(), iterate() and run() (bun:sqlite's method names).
For a driver-independent API over SQLite, MySQL and PostgreSQL use dbi.
Export list
Generated by utilities/doc-api.js from the database dump of utilities/api-surface.sh: 15 members. Edit the text above this block, not the block.
Database
class, constructible
- methods:
close(),prepare(),query(),run() - properties:
[Symbol.toStringTag]
Statement
class, constructible
- methods:
all(),get(),iterate(),run(),toString() - properties:
[Symbol.toStringTag]