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://dotland.deno.dev/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