import { QueryResult } from "https://deno.land/x/postgres@v0.17.1/query/query.ts";
Constructors
new
QueryResult(query: Query<ResultType>)Properties
rowDescription: RowDescription | undefined
warnings: Notice[]
Methods
handleCommandComplete(commandTag: string): void
insertRow(_row: Uint8Array[]): void
Add a row to the result based on metadata provided by rowDescription
This implementation depends on row description not being modified after initialization
This function can throw on validation, so any errors must be handled in the message loop accordingly
loadColumnDescriptions(description: RowDescription)
This function is required to parse each column of the results