File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -2105,3 +2105,20 @@ SQLConnector.prototype.setNullableProperty = function(property) {
2105
2105
throw new Error ( g . f ( '{{setNullableProperty}} must be implemented by' +
2106
2106
'the connector' ) ) ;
2107
2107
} ;
2108
+
2109
+ /**
2110
+ * Discover if database is in strict mode
2111
+ * @param {Function } [cb] The callback function
2112
+ */
2113
+ SQLConnector . prototype . discoverIsStrict = function ( cb ) {
2114
+ const self = this ;
2115
+ const sql = self . buildQueryIsStrict ( ) ;
2116
+ this . execute ( sql , cb ) ;
2117
+ }
2118
+
2119
+ /**
2120
+ * Build sql for checking if database is in strict mode
2121
+ */
2122
+ SQLConnector . prototype . buildQueryIsStrict = function ( ) {
2123
+ throw new Error ( g . f ( '{{isStrict}} must be implemented by the connector' ) ) ;
2124
+ } ;
You can’t perform that action at this time.
0 commit comments