method ID1PreparedStatement.run
ID1PreparedStatement.run<T = Record<string, unknown>>(): Promise<D1Result<T>>

Runs the statement for its effect.

Type Parameters

T = Record<string, unknown>

The row shape

Return Type

Promise<D1Result<T>>

D1's result metadata

Usage

import { type ID1PreparedStatement } from "cloudflare-plugin/src/index.ts";