UNPKG

@rcronin/sequelize-ibmi-mapepire

Version:

IBM i (via Mapepire) Sequelize V7 Dialect

23 lines 1.52 kB
import type { ListSchemasQueryOptions, ListTablesQueryOptions, RemoveIndexQueryOptions, RenameTableQueryOptions, ShowConstraintsQueryOptions, TableOrModel, TruncateTableQueryOptions } from '@sequelize/core'; import { AbstractQueryGenerator } from '@sequelize/core'; import type { IBMiDialect } from './dialect.js'; import { IBMiQueryGeneratorInternal } from './query-generator.internal.js'; /** * Temporary class to ease the TypeScript migration */ export declare class IBMiQueryGeneratorTypeScript extends AbstractQueryGenerator { #private; constructor(dialect: IBMiDialect, internals?: IBMiQueryGeneratorInternal); listSchemasQuery(options?: ListSchemasQueryOptions): string; describeTableQuery(tableName: TableOrModel): string; listTablesQuery(options?: ListTablesQueryOptions): string; renameTableQuery(beforeTableName: TableOrModel, afterTableName: TableOrModel, options?: RenameTableQueryOptions): string; truncateTableQuery(tableName: TableOrModel, options?: TruncateTableQueryOptions): string; showConstraintsQuery(tableName: TableOrModel, options?: ShowConstraintsQueryOptions): string; showIndexesQuery(tableName: TableOrModel): string; removeIndexQuery(tableName: TableOrModel, indexNameOrAttributes: string | string[], options?: RemoveIndexQueryOptions): string; versionQuery(): string; tableExistsQuery(tableName: TableOrModel): string; createSavepointQuery(savepointName: string): string; } //# sourceMappingURL=query-generator-typescript.internal.d.ts.map