react-native-nitro-sqliteInterfaces
Transaction
TypeScriptSource 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()
commit(): NitroSQLiteQueryResult
Defined in: types.ts:205
Commit now. Further operations on this transaction throw.
Returns
rollback()
rollback(): NitroSQLiteQueryResult
Defined in: types.ts:207
Roll back now. Further operations on this transaction throw.