Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


PostgreSQL driver for Deno
Go to Latest
export const DEFAULT_SETUP = [ "DROP TABLE IF EXISTS ids;", "CREATE TABLE ids(id integer);", "INSERT INTO ids(id) VALUES(1);", "INSERT INTO ids(id) VALUES(2);", "DROP TABLE IF EXISTS timestamps;", "CREATE TABLE timestamps(dt timestamptz);", `INSERT INTO timestamps(dt) VALUES('2019-02-10T10:30:40.005+04:30');`, "DROP TABLE IF EXISTS bytes;", "CREATE TABLE bytes(b bytea);", "INSERT INTO bytes VALUES(E'foo\\\\000\\\\200\\\\\\\\\\\\377')",];
export const TEST_CONNECTION_PARAMS = { user: "test", password: "test", database: "deno_postgres", host: "", port: "5432",};