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 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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.6.0",
2
+ "version": "6.6.1",
3
3
  "name": "dbgate-types",
4
4
  "homepage": "https://dbgate.org/",
5
5
  "repository": {
package/test-engines.d.ts CHANGED
@@ -56,6 +56,9 @@ export type TestEngineInfo = {
56
56
 
57
57
  useTextTypeForStrings?: boolean;
58
58
 
59
+ supportTableComments?: boolean;
60
+ supportColumnComments?: boolean;
61
+
59
62
  supportRenameSqlObject?: boolean;
60
63
  supportSchemas?: boolean;
61
64