Skip to main content
StatementSync.prototype.run - node__sqlite.d.ts - Node documentation
method StatementSync.prototype.run

Usage in Deno

```typescript import { StatementSync } from "node:node__sqlite.d.ts"; ```
StatementSync.prototype.run(...anonymousParameters: SupportedValueType[]): StatementResultingChanges
This method executes a prepared statement and returns an object summarizing the resulting changes. The prepared statement [parameters are bound](https://www.sqlite.org/c3ref/bind_blob.html) using the values in `namedParameters` and `anonymousParameters`.

Parameters

...anonymousParameters: SupportedValueType[]

Return Type

StatementSync.prototype.run(
namedParameters: Record<string, SupportedValueType>,
...anonymousParameters: SupportedValueType[],
): StatementResultingChanges

Parameters

namedParameters: Record<string, SupportedValueType>
...anonymousParameters: SupportedValueType[]

Return Type