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

Usage

import * as pgc4d from "https://raw.githubusercontent.com/jakajancar/pgc4d/master/src/mod.ts";

§Classes

BufferedQueryResult

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

PgError
QueryResult abstract

Abstract superclass of streaming and buffered results.

StreamingQueryResult

A streaming result.

§Functions

connectPg

Opens a new connection to a PostgreSQL server and resolves to the connection (PgConn) once authenticated and ready to accept queries.

§Interfaces

ColumnMetadata
CompletionInfo

Query metadata received at the end of execution of a query.

ConnectPgOptions
ErrorAndNoticeFields
Notification

A notification received as a consequence of using LISTEN.

ParameterMetadata
PgConn
PgError
PgNotice
PreparedStatement

§Type Aliases

ColumnValue
IndexedRow

A row in the shape of a JavaScript array, without column names:

KeyedRow

A row in the shape of a JavaScript object, with column names as keys: