Skip to main content
Module

x/pg_mem/interfaces.ts>IBackup

An in memory postgres DB instance for your unit tests
Latest
interface IBackup
import { type IBackup } from "https://deno.land/x/pg_mem@2.8.1/interfaces.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 !