react-native-nitro-sqliteType aliases
ExecuteLazyAsyncQuery
TypeScriptSource files: TypeScript
ExecuteLazyAsyncQuery = <Row>(query, params?) => Promise<LazyQueryResult<Row>>
Queue a statement and resolve with the completed result, whose rows convert on access.
Type Parameters
Row
Row extends QueryResultRow = QueryResultRow
Parameters
query
string
SQL statement with optional positional placeholders.
params?
Values bound to the placeholders.
Returns
Promise<LazyQueryResult<Row>>
Throws
SQLiteError as a rejected promise if the statement fails.