import { type ISchema } from "https://dotland.deno.dev/x/pg_mem@2.6.7/index.ts";
Methods
declareTable(table: Schema): IMemoryTable
Another way to create tables (equivalent to "create table" queries")
queries(text: QueryOrAst): Iterable<QueryResult>
Progressively executes a query, yielding results until the end of enumeration (or an exception)
getTable(table: string, nullIfNotFound?: boolean): IMemoryTable | null
registerEquivalentType(type: IEquivalentType): IType
Register a simple type, which is equivalent to another
interceptQueries(interceptor: QueryInterceptor): ISubscription
Intecept queries. If your interceptor returns an array, then the query will not be executed. The given result will be returned instead.