File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -5154,6 +5154,20 @@ export type CAPI = {
51545154 */
51555155 sqlite3_context_db_handle : ( ctx : WasmPointer ) => WasmPointer ;
51565156
5157+ /**
5158+ * The sqlite3_get_autocommit() interface returns non-zero or zero if the
5159+ * given database connection is or is not in autocommit mode, respectively.
5160+ * Autocommit mode is on by default. Autocommit mode is disabled by a BEGIN
5161+ * statement. Autocommit mode is re-enabled by a COMMIT or ROLLBACK.
5162+ *
5163+ * C Signature:
5164+ *
5165+ * int sqlite3_get_autocommit(sqlite3*);
5166+ *
5167+ * See https://www.sqlite.org/c3ref/get_autocommit.html
5168+ */
5169+ sqlite3_get_autocommit ( db : DbPtr ) : number ;
5170+
51575171 /**
51585172 * Returns a pointer to the metadata associated by the
51595173 * `sqlite3_set_auxdata(ctx, n , pAux, xDelete)` function with the `n`th
You can’t perform that action at this time.
0 commit comments