function queryAll
queryAll<T>(...unnamed 0: SqlArgs): Promise<T[]>

Query all rows as a typed array. A read whose cache refill requires read-your-writes goes to the primary instead.

Type Parameters

Parameters

...unnamed 0: SqlArgs

Return Type

Promise<T[]>

Usage

import { queryAll } from "doc.ts";