Class D1PreparedStatementAbstract
Methods
all
- all<T>(): Promise<D1Result<T>>
Type Parameters
- T = Record<string, unknown>
Returns Promise<D1Result<T>>
first
- first<T>(colName): Promise<T>
Returns Promise<T>
- first<T>(): Promise<T>
Type Parameters
- T = Record<string, unknown>
Returns Promise<T>
raw
- raw<T>(options): Promise<[string[], ...T[]]>
Parameters
- options: {
columnNames: true;
}
Returns Promise<[string[], ...T[]]>
- raw<T>(options?): Promise<T[]>
Parameters
Optional
options: {
columnNames?: false;
}Optional
columnNames?: false
Returns Promise<T[]>