React native nitro sqliteType aliases
API Reference / react-native-nitro-sqlite / ExecuteQuery
Type Alias: ExecuteQuery
Declaration: TypeScript · View source on GitHub
ExecuteQuery = <
Row>(query,params?) =>QueryResult<Row>
Execute one SQL statement synchronously and return its typed rows.
Type Parameters
Row
Row extends QueryResultRow = QueryResultRow
Parameters
query
string
SQL statement with optional positional placeholders.
params?
Values bound to the placeholders.
Returns
QueryResult<Row>