@@ -18,7 +18,12 @@ node-sqlite3/
1818│ ├── sqlite3.js # Main module entry point
1919│ ├── sqlite3-binding.js # Native binding loader
2020│ ├── sqlite3.d.ts # TypeScript declarations
21- │ └── trace.js # Stack trace augmentation for verbose mode
21+ │ ├── trace.js # Stack trace augmentation for verbose mode
22+ │ └── promise/ # Promise-based API wrappers
23+ │ ├── index.js # Promise module exports
24+ │ ├── database.js # SqliteDatabase class
25+ │ ├── statement.js # SqliteStatement class
26+ │ └── backup.js # SqliteBackup class
2227├── src/ # C++ native addon
2328│ ├── node_sqlite3.cc # Main addon entry
2429│ ├── database.cc/h # Database class
@@ -52,6 +57,13 @@ node-sqlite3/
5257- ** trace.js** : Stack trace augmentation for verbose mode
5358 - Extends error stack traces to include operation context
5459
60+ - ** promise/** : Promise-based API wrappers (modern async/await support)
61+ - ` SqliteDatabase ` class: ` open() ` , ` close() ` , ` run() ` , ` get() ` , ` all() ` , ` each() ` , ` exec() ` , ` prepare() ` , ` backup() `
62+ - ` SqliteStatement ` class: ` bind() ` , ` reset() ` , ` finalize() ` , ` run() ` , ` get() ` , ` all() ` , ` each() `
63+ - ` SqliteBackup ` class: ` step() ` , ` finish() `
64+ - Transaction support: ` beginTransaction() ` , ` commitTransaction() ` , ` rollbackTransaction() `
65+ - Static factory: ` SqliteDatabase.open(filename, mode) `
66+
5567### Native Layer (src/)
5668
5769- ** node_sqlite3.cc** : Module initialization, exports ` Database ` , ` Statement ` , ` Backup ` classes
0 commit comments