不要怂,就是干,撸起袖子干!

Commit b86d1d5e by Ryan Pon

fix comment

1 parent 51a1b08d
Showing with 1 additions and 1 deletions
...@@ -1584,7 +1584,7 @@ module.exports = (function() { ...@@ -1584,7 +1584,7 @@ module.exports = (function() {
// of string-likes/Dates or an array with objects, hashes, or other // of string-likes/Dates or an array with objects, hashes, or other
// complex data types // complex data types
if (Utils.canTreatArrayAsAnd(options.where)) { if (Utils.canTreatArrayAsAnd(options.where)) {
// smth, tableName, factory, options, prepend // Don't overwrite our explicit deletedAt search value if we provide one
var whereClause = this.QueryGenerator.getWhereConditions(options.where, this.getTableName(), this, options); var whereClause = this.QueryGenerator.getWhereConditions(options.where, this.getTableName(), this, options);
if (whereClause.indexOf(deletedAtCol) !== -1) { if (whereClause.indexOf(deletedAtCol) !== -1) {
return options; return options;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!