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

x/pg_mem/adapters/index.ts>Adapters#createPg

An in memory postgres DB instance for your unit tests
Go to Latest
method Adapters.prototype.createPg
import { Adapters } from "https://deno.land/x/pg_mem@2.7.4/adapters/index.ts";

Parameters

optional
queryLatency: number

Returns

{ Pool: any; Client: any; }