D1PreparedStatement.bind()method
bind(...values: D1Value[]): D1PreparedStatement
{
bind(...values: D1Value[]): D1PreparedStatement;
first<T = Record<string, unknown>>(column?: string): Promise<T | null>;
raw<T = unknown[]>(options?: { columnNames?: boolean }): Promise<readonly T[]>;
run<T extends Record<string, unknown> = Record<string, unknown>>(): Promise<D1Result<T>>;
}Minimal prepared statement interface for D1 databases and sessions.
Declares only the subset of the D1 prepared-statement API used by CloudflareD1Provider.
bind(...values: D1Value[]): D1PreparedStatement
first(column?: string): Promise<T | null>
raw(options?: { columnNames?: boolean }): Promise<readonly T[]>run(): Promise<D1Result<T>>