dbgate-types 6.6.0 → 6.6.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 +8 -0
- package/engines.d.ts +6 -0
- package/package.json +1 -1
- package/test-engines.d.ts +3 -0
package/dialect.d.ts
CHANGED
|
@@ -74,6 +74,14 @@ export interface SqlDialect {
|
|
|
74
74
|
|
|
75
75
|
predefinedDataTypes: string[];
|
|
76
76
|
|
|
77
|
+
columnProperties?: {
|
|
78
|
+
columnName?: boolean;
|
|
79
|
+
isSparse?: true;
|
|
80
|
+
isPersisted?: true;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
safeCommentChanges?: boolean;
|
|
84
|
+
|
|
77
85
|
// create sql-tree expression
|
|
78
86
|
createColumnViewExpression(
|
|
79
87
|
columnName: string,
|
package/engines.d.ts
CHANGED
|
@@ -164,6 +164,7 @@ export interface FilterBehaviourProvider {
|
|
|
164
164
|
export interface DatabaseHandle<TClient = any> {
|
|
165
165
|
client: TClient;
|
|
166
166
|
database?: string;
|
|
167
|
+
conid?: string;
|
|
167
168
|
feedback?: (message: any) => void;
|
|
168
169
|
getDatabase?: () => any;
|
|
169
170
|
connectionType?: string;
|
|
@@ -336,6 +337,11 @@ export interface EngineDriver<TClient = any> extends FilterBehaviourProvider {
|
|
|
336
337
|
analyserClass?: any;
|
|
337
338
|
dumperClass?: any;
|
|
338
339
|
singleConnectionOnly?: boolean;
|
|
340
|
+
getLogDbInfo(dbhan: DatabaseHandle<TClient>): {
|
|
341
|
+
database?: string;
|
|
342
|
+
engine: string;
|
|
343
|
+
conid?: string;
|
|
344
|
+
};
|
|
339
345
|
}
|
|
340
346
|
|
|
341
347
|
export interface DatabaseModification {
|
package/package.json
CHANGED