Module

x/pg_mem/interfaces.ts>SlonikAdapterOptions

An in memory postgres DB instance for your unit tests
Latest
interface SlonikAdapterOptions
import { type SlonikAdapterOptions } from "https://dotland.deno.dev/x/pg_mem@3.0.3/interfaces.ts";

Properties

optional
queryLatency: number
optional
createPoolOptions: any

options you would give to the createPool() function

optional
zodValidation: boolean

add zod validation interceptor to create pool options, like with https://github.com/gajus/slonik?tab=readme-ov-file#result-parser-interceptor

optional
clientConfigurationInput: any

old versions of slonik, this be passed as client configuration