mirror of
https://github.com/knex/knex.git
synced 2025-12-29 07:59:31 +00:00
added toLowerCase() call so we can use "LIKE".
This commit is contained in:
parent
3e6fc36289
commit
337bf6b8d9
@ -124,7 +124,7 @@ define(function(require, exports) {
|
||||
}
|
||||
return this;
|
||||
}
|
||||
if (!_.contains(operators, operator)) {
|
||||
if (!_.contains(operators, operator.toLowerCase())) {
|
||||
value = operator;
|
||||
operator = '=';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user