class PostgresConnector
implements Connector
import { PostgresConnector } from "https://deno.land/x/denodb@v1.1.0/lib/connectors/postgres-connector.ts";
Constructors
new
PostgresConnector(options: PostgresOptions)Create a PostgreSQL connection.
Properties
_client: PostgresClient
_dialect: SupportedSQLDatabaseDialect
_options: PostgresOptions
_translator: SQLTranslator
Methods
close()
ping()
query(queryDescription: QueryDescription): Promise<any | any[]>
transaction(queries: () => Promise<void>)