React native nitro sqliteInterfaces
API Reference / react-native-nitro-sqlite / Transaction
Interface: Transaction
TypeScriptSource files: TypeScript
Handle valid only while its transaction callback is active.
Properties
execute
execute:
ExecuteQuery
Defined in: types.ts:195
Execute within this transaction on the calling thread.
executeAsync
executeAsync:
ExecuteAsyncQuery
Defined in: types.ts:197
Execute within this transaction on a background thread.
Methods
commit()
commit():
NitroSQLiteQueryResult
Defined in: types.ts:191
Commit now. Further operations on this transaction throw.
Returns
rollback()
rollback():
NitroSQLiteQueryResult
Defined in: types.ts:193
Roll back now. Further operations on this transaction throw.