import { Table } from "https://deno.land/x/justaos_orm@v7.1.0/mod.ts";
Constructors
new
Table(queryBuilder: Query,
schema: TableSchema,
operationInterceptorService: DatabaseOperationInterceptorService,
logger: Logger,
pool: pg.Pool,
context?: DatabaseOperationContext,
Methods
convertRawRecordToRecord(rawRecord: RawRecord): Record
count(): Promise<number>
disableIntercept(interceptName: string): void
disableIntercepts(): void
enableIntercepts(): void
execute(): Promise<any>
getColumnNames(): string[]
getContext(): DatabaseOperationContext | undefined
getName(): string
getSchemaName(): string
getSelectedColumns(): string[]
getTableName(): string
orderBy(columnNameOrOrderList?: string | OrderByType[], direction?: OrderByDirectionType): Table