NitroSQLite
react-native-nitro-sqliteInterfaces

Transaction

TypeScript

Source files: TypeScript

Handle valid only while its transaction callback is active.

Properties

execute

execute: ExecuteQuery

Defined in: types.ts:209

Execute within this transaction on the calling thread.


executeAsync

executeAsync: ExecuteAsyncQuery

Defined in: types.ts:211

Execute within this transaction on a background thread.

Methods

commit()

Defined in: types.ts:205

Commit now. Further operations on this transaction throw.

Returns

NitroSQLiteQueryResult


rollback()

Defined in: types.ts:207

Roll back now. Further operations on this transaction throw.

Returns

NitroSQLiteQueryResult

On this page