class denodb.PostgresConnector
implements Connector
import { denodb } from "https://deno.land/x/grm@v0.3.1/deps.ts";
const { PostgresConnector } = denodb;
Constructors
new
PostgresConnector(options: PostgresOptions)Create a PostgreSQL connection.
Properties
_options: PostgresOptions
Methods
close()
ping()
query(queryDescription: QueryDescription): Promise<any | any[]>
transaction(queries: () => Promise<void>)