mythix-orm 1.4.0 → 1.4.3
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.
|
@@ -859,6 +859,11 @@ class QueryGeneratorBase {
|
|
|
859
859
|
|
|
860
860
|
return `SUM(${escapedFieldName})`;
|
|
861
861
|
}
|
|
862
|
+
|
|
863
|
+
// eslint-disable-next-line no-unused-vars
|
|
864
|
+
toConnectionString(queryEngine, options) {
|
|
865
|
+
return '<not supported by connection>';
|
|
866
|
+
}
|
|
862
867
|
}
|
|
863
868
|
|
|
864
869
|
module.exports = QueryGeneratorBase;
|
|
@@ -53,13 +53,10 @@ class QueryEngine extends QueryEngineBase {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
toString(...args) {
|
|
56
|
-
|
|
57
|
-
return `${this.constructor.name} {}`;
|
|
58
|
-
|
|
59
|
-
let connection = args[0];
|
|
56
|
+
let connection = this.getConnection();
|
|
60
57
|
let queryGenerator = connection.getQueryGenerator();
|
|
61
58
|
|
|
62
|
-
return queryGenerator.
|
|
59
|
+
return queryGenerator.toConnectionString(this, ...args);
|
|
63
60
|
}
|
|
64
61
|
|
|
65
62
|
MERGE(_queryEngine) {
|