We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 858adf3 commit aa837f6Copy full SHA for aa837f6
1 file changed
lib/discovery.js
@@ -298,6 +298,14 @@ function mixinDiscovery(MySQL, mysql) {
298
return sql;
299
};
300
301
+ /**
302
+ * Build query to determine is strict mode
303
+ */
304
+
305
+ MySQL.prototype.buildQueryIsStrict = function() {
306
+ return "SELECT @@SESSION.sql_mode LIKE '%STRICT%' AS strictMode;";
307
+ };
308
309
/**
310
* Discover foreign keys that reference to the primary key of this table
311
* @param {String} table The table name
0 commit comments