Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5154,6 +5154,20 @@ export type CAPI = {
*/
sqlite3_context_db_handle: (ctx: WasmPointer) => WasmPointer;

/**
* The sqlite3_get_autocommit() interface returns non-zero or zero if the
* given database connection is or is not in autocommit mode, respectively.
* Autocommit mode is on by default. Autocommit mode is disabled by a BEGIN
* statement. Autocommit mode is re-enabled by a COMMIT or ROLLBACK.
*
* C Signature:
*
* int sqlite3_get_autocommit(sqlite3*);
*
* See https://www.sqlite.org/c3ref/get_autocommit.html
*/
sqlite3_get_autocommit(db: DbPtr): number;

/**
* Returns a pointer to the metadata associated by the
* `sqlite3_set_auxdata(ctx, n , pAux, xDelete)` function with the `n`th
Expand Down