Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pg_mem/execution/statement-exec.ts>SimpleExecutor

An in memory postgres DB instance for your unit tests
Go to Latest
class SimpleExecutor
implements _IStatementExecutor
extends ExecHelper
import { SimpleExecutor } from "https://deno.land/x/pg_mem@2.6.13/execution/statement-exec.ts";

Constructors

new
SimpleExecutor(
st: Statement,
exec: (t: _Transaction) => void,
opName?: string,
)

Methods

execute(t: _Transaction): StatementResult