mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 15:25:59 +00:00
WIP
This commit is contained in:
8
packages/types/dialect.d.ts
vendored
8
packages/types/dialect.d.ts
vendored
@@ -1,3 +1,5 @@
|
||||
import { ColumnInfo } from './dbinfo';
|
||||
|
||||
export interface SqlDialect {
|
||||
rangeSelect?: boolean;
|
||||
limitSelect?: boolean;
|
||||
@@ -6,6 +8,7 @@ export interface SqlDialect {
|
||||
topRecords?: boolean;
|
||||
stringEscapeChar: string;
|
||||
offsetFetchRangeSyntax?: boolean;
|
||||
offsetNotSupported?: boolean;
|
||||
quoteIdentifier(s: string): string;
|
||||
fallbackDataType?: string;
|
||||
explicitDropConstraint?: boolean;
|
||||
@@ -14,6 +17,7 @@ export interface SqlDialect {
|
||||
enableConstraintsPerTable?: boolean;
|
||||
requireStandaloneSelectForScopeIdentity?: boolean;
|
||||
allowMultipleValuesInsert?: boolean;
|
||||
rawUuids?: boolean;
|
||||
|
||||
dropColumnDependencies?: string[];
|
||||
changeColumnDependencies?: string[];
|
||||
@@ -45,6 +49,10 @@ export interface SqlDialect {
|
||||
omitUniqueConstraints?: boolean;
|
||||
omitIndexes?: boolean;
|
||||
omitTableAliases?: boolean;
|
||||
omitTableBeforeColumn?: boolean;
|
||||
disableAutoIncrement?: boolean;
|
||||
disableNonPrimaryKeyRename?: boolean;
|
||||
defaultNewTableColumns?: ColumnInfo[];
|
||||
sortingKeys?: boolean;
|
||||
|
||||
// syntax for create column: ALTER TABLE table ADD COLUMN column
|
||||
|
||||
Reference in New Issue
Block a user