NitroSQLite

ExecuteAsyncQuery

API Reference


API Reference / react-native-nitro-sqlite / ExecuteAsyncQuery

Type Alias: ExecuteAsyncQuery

ExecuteAsyncQuery = <Row>(query, params?) => Promise<QueryResult<Row>>

Queue one SQL statement and resolve with its typed rows.

Type Parameters

Row

Row extends QueryResultRow = QueryResultRow

Parameters

query

string

SQL statement with optional positional placeholders.

params?

SQLiteQueryParams

Values bound to the placeholders.

Returns

Promise<QueryResult<Row>>