react-native-nitro-sqliteType aliases
ExecuteLazyQuery
TypeScriptSource files: TypeScript
ExecuteLazyQuery = <Row>(query, params?) => LazyQueryResult<Row>
Execute a statement synchronously and return a result with on-demand row conversion.
Type Parameters
Row
Row extends QueryResultRow = QueryResultRow
Parameters
query
string
SQL statement with optional positional placeholders.
params?
Values bound to the placeholders.
Returns
LazyQueryResult<Row>
Throws
SQLiteError if the connection is busy or the statement fails.