import { ReadOnlyTable } from "https://deno.land/x/pg_mem@2.6.7/schema/readonly-table.ts";
Constructors
new
ReadOnlyTable(schema: _ISchema)Methods
private
build()addColumn(column: SchemaField | CreateColumnDef): _Column
addConstraint(constraint: TableConstraint, t: _Transaction): _IConstraint
delete(t: _Transaction, toDelete: T): void
doInsert(toInsert: any): void
drop(t: _Transaction): void
dropIndex(t: _Transaction, name: string): void
abstract
entropy(t: _Transaction): numberabstract
enumerate(t: _Transaction): Iterable<T>getColumnRef(column: string, nullIfNotFound?: boolean): _Column
getConstraint(constraint: string): _IConstraint | nil
abstract
hasItem(value: T, t: _Transaction): booleaninsert(item: any)
isOriginOf(v: IValue): boolean
itemsByTable(table: string | _ITable, t: _Transaction): IterableIterator<any>
listIndices(): IndexDef[]
on(): any
onBeforeChange(columns: string[], check: ChangeHandler<T>)
onCheckChange(columns: string[], check: ChangeHandler<T>)
onDrop(sub: DropHandler): ISubscription
onIndex(sub: IndexHandler): ISubscription
register()
rename(to: string): this
setHidden(): this
setReadonly(): this
stats(t: _Transaction): Stats | null
truncate(t: _Transaction): void
update(t: _Transaction, toUpdate: any)