import { default } from "https://deno.land/x/justaos_orm@v7.1.0/src/ORMConnection.ts";
Constructors
new
default(orm: ORM,
logger: Logger,
config: DatabaseConfiguration,
tableDefinitionRegistry: Registry<TableDefinition>,
schemaRegistry: Map<string, null>,
operationInterceptorService: DatabaseOperationInterceptorService,
Methods
closeConnection(): Promise<void>
connect(): Promise<void>
defineTable(tableDefinitionRaw: TableDefinitionRaw | Function)
deregisterTable(tableName: string)
dropDatabase(): Promise<any>
dropTable(tableName: string): Promise<void>
table(name: string, context?: DatabaseOperationContext): Table