dbgate-types 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dialect.d.ts +3 -0
- package/dumper.d.ts +1 -0
- package/engines.d.ts +5 -1
- package/package.json +1 -1
- package/test-engines.d.ts +1 -0
package/dialect.d.ts
CHANGED
|
@@ -13,8 +13,10 @@ export interface SqlDialect {
|
|
|
13
13
|
fallbackDataType?: string;
|
|
14
14
|
explicitDropConstraint?: boolean;
|
|
15
15
|
anonymousPrimaryKey?: boolean;
|
|
16
|
+
anonymousForeignKey?: boolean;
|
|
16
17
|
defaultSchemaName?: string;
|
|
17
18
|
enableConstraintsPerTable?: boolean;
|
|
19
|
+
enableAllForeignKeys?: boolean;
|
|
18
20
|
requireStandaloneSelectForScopeIdentity?: boolean;
|
|
19
21
|
allowMultipleValuesInsert?: boolean;
|
|
20
22
|
|
|
@@ -63,6 +65,7 @@ export interface SqlDialect {
|
|
|
63
65
|
requireFromDual?: boolean;
|
|
64
66
|
userDatabaseNamePrefix?: string; // c## in Oracle
|
|
65
67
|
upperCaseAllDbObjectNames?: boolean;
|
|
68
|
+
defaultValueBeforeNullability?: boolean;
|
|
66
69
|
|
|
67
70
|
predefinedDataTypes: string[];
|
|
68
71
|
|
package/dumper.d.ts
CHANGED
package/engines.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface WriteTableOptions {
|
|
|
40
40
|
truncate?: boolean;
|
|
41
41
|
createIfNotExists?: boolean;
|
|
42
42
|
commitAfterInsert?: boolean;
|
|
43
|
+
targetTableStructure?: TableInfo;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
export interface EngineAuthType {
|
|
@@ -161,8 +162,9 @@ export interface EngineDriver<TClient = any> extends FilterBehaviourProvider {
|
|
|
161
162
|
profilerTimestampFunction?: string;
|
|
162
163
|
profilerChartAggregateFunction?: string;
|
|
163
164
|
profilerChartMeasures?: { label: string; field: string }[];
|
|
164
|
-
isElectronOnly?: boolean;
|
|
165
|
+
// isElectronOnly?: boolean;
|
|
165
166
|
supportsTransactions?: boolean;
|
|
167
|
+
implicitTransactions?: boolean; // transaction is started with first SQL command, no BEGIN TRANSACTION is needed
|
|
166
168
|
|
|
167
169
|
collectionSingularLabel?: string;
|
|
168
170
|
collectionPluralLabel?: string;
|
|
@@ -257,6 +259,8 @@ export interface EngineDriver<TClient = any> extends FilterBehaviourProvider {
|
|
|
257
259
|
): any[];
|
|
258
260
|
// adapts table info from different source (import, other database) to be suitable for this database
|
|
259
261
|
adaptTableInfo(table: TableInfo): TableInfo;
|
|
262
|
+
// simple data type adapter
|
|
263
|
+
adaptDataType(dataType: string): string;
|
|
260
264
|
listSchemas(dbhan: DatabaseHandle<TClient>): SchemaInfo[];
|
|
261
265
|
|
|
262
266
|
analyserClass?: any;
|
package/package.json
CHANGED