diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index e4d6275784d..6b275a09149 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -200,6 +200,15 @@ added: v22.15.0 * {boolean} Whether the database is currently open or not. +### `database.isTransaction` + + + +* {boolean} Whether the database is currently within a transaction. This method + is a wrapper around [`sqlite3_get_autocommit()`][]. + ### `database.open()`