UNPKG

@adonisjs/lucid

Version:

SQL ORM built on top of Active Record pattern

33 lines (32 loc) 1.11 kB
/// <reference path="../../adonis-typings/index.d.ts" /> import { DialectContract, QueryClientContract } from '@ioc:Adonis/Lucid/Database'; export declare class OracleDialect implements DialectContract { private client; readonly name = "oracledb"; readonly supportsAdvisoryLocks = false; /** * Reference to the database version. Knex.js fetches the version after * the first database query, so it will be set to undefined initially */ readonly version: any; /** * The default format for datetime column. The date formats is * valid for luxon date parsing library */ readonly dateTimeFormat = "yyyy-MM-dd HH:mm:ss"; constructor(client: QueryClientContract); /** * Not implemented yet */ getAllTables(): Promise<any>; /** * Truncate pg table with option to cascade and restart identity */ truncate(table: string, cascade?: boolean): Promise<any>; /** * Not implemented yet */ dropAllTables(): Promise<void>; getAdvisoryLock(): Promise<boolean>; releaseAdvisoryLock(): Promise<boolean>; }