query
The query method runs one parameterized statement against staged data.
query<RowType>(
sql: string,
params?: JsonValue[],
options?: QueryOptions,
): Promise<Results<RowType>>| Type | Description | |
|---|---|---|
sql | string | |
params? | JsonValue[] | |
options? | QueryOptions | |
| returns | Promise<Results<RowType>> | A Promise resolving to the statement results. |
Since
v0.0.5