interface _ISchema
implements ISchema
import { type _ISchema } from "https://dotland.deno.dev/x/pg_mem@3.0.2/interfaces-private.ts";
Properties
Methods
executeCreateExtension(p: CreateExtensionStatement): void
dropFunction(fn: DropFunctionStatement): void
explainSelect(sql: string): _SelectExplanation
explainLastSelect(): _SelectExplanation | undefined
getTable(table: string): _ITable
getTable(table: string, nullIfNotFound?: boolean): _ITable
tablesCount(t: _Transaction): number
listTables(t?: _Transaction): Iterable<_ITable>
createSequence(): _ISequence
getFunction(name: string, args: _IType[]): _FunctionDefinition | nil
Get an exact function def from its signature (do not use that to resolve overload)
getObject(p: QName): _IRelation
getObject(p: QName, opts: BeingCreated): _IRelation
getObject(p: QName, opts?: QueryObjOpts): _IRelation | null
getOwnObject(name: string): _IRelation | null
parseType(t: string): _IType
getType(_t: TypeQuery, opts?: QueryObjOpts): _IType | null
getOwnType(name: DataTypeDef): _IType | null
getObjectByRegClassId(reg: number): _IRelation
getObjectByRegClassId(reg: number, opts?: QueryObjOpts): _IRelation | null
getOwnObjectByRegClassId(reg: number): _IRelation | null
getObjectByRegOrName(reg: RegClass): _IRelation
getObjectByRegOrName(reg: RegClass, opts?: QueryObjOpts): _IRelation | null
_registerTypeSizeable(name: string, type: (sz?: number) => _IType): this
_registerType(type: _IType): this
_unregisterType(type: _IType): this
_reg_register(rel: _IRelation): Reg
_reg_unregister(rel: _IRelation): void