Skip to main content
StatementSync.prototype.run - sqlite - Node documentation
method StatementSync.prototype.run

Usage in Deno

import { StatementSync } from "node:sqlite";
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 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