Module

x/pg_mem/index.ts>IBackup

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

Methods

restore(): void

Restores data to the state when this backup has been performed. 👉 This operation is O(1). 👉 Schema must not have been changed since then !