NitroSQLite
nitro-sqliteType aliases

ExecuteRawQuery

TypeScript

Source files: TypeScript

ExecuteRawQuery = (query, params?) => NativeRawQueryResult

Execute one SQL statement synchronously and return rows as arrays of column values. Repeated column names are kept, in the order of columnNames.

Parameters

query

string

SQL statement with optional positional placeholders.

params?

SQLiteQueryParams

Values bound to the placeholders.

Returns

NativeRawQueryResult

On this page