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

QueryResult

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

Abstract superclass of streaming and buffered results.

abstract class QueryResult {
constructor(columns: ColumnMetadata[]);
get columnIterator(): AsyncIterableIterator<ColumnValue>;
get completed(): boolean;
abstract completionInfo: CompletionInfo | undefined;
abstract readonly indexedRowsIterator: AsyncIterableIterator<IndexedRow>;
get rowsIterator(): AsyncIterableIterator<KeyedRow>;
 
protected _assertSingleColumn();
protected _assertUniqueColumnNames();
protected _toField(src: IndexedRow): ColumnValue;
protected _toKeyedRow(src: IndexedRow): KeyedRow;
}

§Constructors

§
new QueryResult(columns: ColumnMetadata[])
[src]

§Properties

§
columnIterator: AsyncIterableIterator<ColumnValue> readonly
[src]
§
completed: boolean readonly
[src]
§
completionInfo: CompletionInfo | undefined
[src]
§
indexedRowsIterator: AsyncIterableIterator<IndexedRow>
[src]
§
rowsIterator: AsyncIterableIterator<KeyedRow> readonly
[src]

§Methods

§
_assertSingleColumn() protected
[src]
§
_assertUniqueColumnNames() protected
[src]
§
_toField(src: IndexedRow): ColumnValue protected
[src]
§
_toKeyedRow(src: IndexedRow): KeyedRow protected
[src]