0.24.0 • Published 5 months ago
sql.mjs v0.24.0
sql.mjs
Another SQLite library. Mostly inactive, and very unstable (MAY CORRUPT YOUR DATABASE FILE), but also cool I think.
Features:
- Incremental Blob IO via Readable / Writable Streams
- Custom VFSs with async implementations
- Coroutines / "multithreading" via Asyncify stack switching.
Enables cancelling a query:
Conn.prototype.interrupt()
Run multiple queries without needing SharedArrayBuffer or Worker - An API with minimal construction / destruction. Prefers 'borrowing' APIs that automatically aquire and release resources.
*
ConnPool.prototype.borrow()
- Tagged template literals
- Everything is optional: only include what you need. Custom VFSs are optional (if you just want in-memory) Custom scalar-functions are optional (if you don't need incremental blob IO, etc.) * Pool is optional
- Extensible
Modify how values are bound via the Bindable and Resultable traits in
sql.mjs/value.js
Write your own implementation of custom VFS support. Look atsql.mjs/vfs/custom.js
to learn how. * Directly call sqlite3 functions viasql.mjs/sqlite.js
andsql.mjs/sqlite_def.js
0.24.0
5 months ago
0.22.1
7 months ago
0.22.0
7 months ago
0.21.0
8 months ago
0.20.0
8 months ago
0.19.0
8 months ago
0.15.0
12 months ago
0.14.1
12 months ago
0.16.0
9 months ago
0.14.2
12 months ago
0.14.3
12 months ago
0.18.0
8 months ago
0.14.0
12 months ago
0.13.0
12 months ago
0.11.0
12 months ago
0.10.0
12 months ago
0.9.0
12 months ago
0.8.1
1 year ago
0.8.0
1 year ago
0.7.1
1 year ago
0.7.0
1 year ago
0.6.0
1 year ago
0.5.0
1 year ago
0.4.2
1 year ago
0.4.1
1 year ago
0.4.0
1 year ago
0.3.1
1 year ago
0.3.0
1 year ago
0.2.0
1 year ago
0.1.0
1 year ago