Module

x/pg_mem/adapters/adapters.ts>Adapters

An in memory postgres DB instance for your unit tests
Latest
class Adapters
implements LibAdapters
import { Adapters } from "https://dotland.deno.dev/x/pg_mem@3.0.3/adapters/adapters.ts";

Constructors

new
Adapters(db: _IDb)

Properties

private
optional
_mikroPatched: boolean

Methods

createKnex(queryLatency?: number, knexConfig?: object): any
createKysely(queryLatency?: number, kyselyConfig?: object): any
createMikroOrm(mikroOrmOptions: any, queryLatency?: number)
createPg(queryLatency?: number): { Pool: any; Client: any; }
createPgNative(queryLatency?: number)
createPgPromise(queryLatency?: number)
createPostgresJsTag(queryLatency?: number): any
deprecated
createTypeormConnection(postgresOptions: any, queryLatency?: number)
createTypeormDataSource(postgresOptions: any, queryLatency?: number)