Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BufferedQueryResult

import { BufferedQueryResult } from "https://raw.githubusercontent.com/jakajancar/pgc4d/master/src/mod.ts";

A buffered query result that contains all the rows and CompletionInfo.

class BufferedQueryResult extends QueryResult {
constructor(
columns: ColumnMetadata[],
indexedRows: IndexedRow[],
completionInfo: CompletionInfo,
);
readonly completionInfo: CompletionInfo;
readonly indexedRows: IndexedRow[];
get indexedRowsIterator(): AsyncIterableIterator<IndexedRow>;
get indexedRow(): IndexedRow;
get maybeIndexedRow(): IndexedRow | undefined;
get rows(): KeyedRow[];
get row(): KeyedRow;
get maybeRow(): KeyedRow | undefined;
get column(): ColumnValue[];
get value(): ColumnValue;
get maybeValue(): ColumnValue | undefined;
 
private _assertNumRows(min: number, max: number);
}

§Extends

§
QueryResult
[src]

§Constructors

§
new BufferedQueryResult(columns: ColumnMetadata[], indexedRows: IndexedRow[], completionInfo: CompletionInfo)
[src]

§Properties

§
completionInfo: CompletionInfo
[src]
§
indexedRows: IndexedRow[]
[src]
§
indexedRowsIterator: AsyncIterableIterator<IndexedRow> readonly
[src]
§
indexedRow: IndexedRow readonly
[src]
§
maybeIndexedRow: IndexedRow | undefined readonly
[src]
§
rows: KeyedRow[] readonly
[src]
§
row: KeyedRow readonly
[src]
§
maybeRow: KeyedRow | undefined readonly
[src]
§
column: ColumnValue[] readonly
[src]
§
value: ColumnValue readonly
[src]
§
maybeValue: ColumnValue | undefined readonly
[src]

§Methods

§
_assertNumRows(min: number, max: number) private
[src]