import { TableSchema } from "https://deno.land/x/justaos_orm@v7.1.0/mod.ts";
Constructors
new
TableSchema(tableDefinition: TableDefinitionRaw,
fieldTypeRegistry: Registry<DataType>,
tableDefinitionRegistry: Registry<TableDefinition>,
Methods
getBaseName(): string
getColumnNames(): string[]
getColumnSchema(name: string): ColumnSchema | undefined
getDataType(name: string): DataType | undefined
getExtendedTables(): string[]
getInherits(): string | undefined
getName(): string
getOwnColumnNames(): string[]
getSchemaName(): string
getTableName(): string
isFinal(): boolean
validate()
Static Methods
getTableName(fullName: string): string
setDefaults(tableDefinition: TableDefinitionRaw): TableDefinition