mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 07:56:01 +00:00
37 lines
940 B
TypeScript
37 lines
940 B
TypeScript
export interface SqlDialect {
|
|
rangeSelect?: boolean;
|
|
limitSelect?: boolean;
|
|
ilike?: boolean;
|
|
rowNumberOverPaging?: boolean;
|
|
stringEscapeChar: string;
|
|
offsetFetchRangeSyntax?: boolean;
|
|
quoteIdentifier(s: string): string;
|
|
fallbackDataType?: string;
|
|
explicitDropConstraint?: boolean;
|
|
anonymousPrimaryKey?: boolean;
|
|
enableConstraintsPerTable?: boolean;
|
|
nosql?: boolean; // mongo
|
|
|
|
dropColumnDependencies?: string[];
|
|
changeColumnDependencies?: string[];
|
|
|
|
dropIndexContainsTableSpec?: boolean;
|
|
|
|
createColumn?: boolean;
|
|
dropColumn?: boolean;
|
|
changeColumn?: boolean;
|
|
createIndex?: boolean;
|
|
dropIndex?: boolean;
|
|
createForeignKey?: boolean;
|
|
dropForeignKey?: boolean;
|
|
createPrimaryKey?: boolean;
|
|
dropPrimaryKey?: boolean;
|
|
createUnique?: boolean;
|
|
dropUnique?: boolean;
|
|
createCheck?: boolean;
|
|
dropCheck?: boolean;
|
|
|
|
dropReferencesWhenDropTable?: boolean;
|
|
disableExplicitTransaction?: boolean;
|
|
}
|