Skip to content

Commit

Permalink
Add support to LIKE BINARY
Browse files Browse the repository at this point in the history
I added "like binary" in $operators to support operator when use "where" and others functions
  • Loading branch information
dbritto-dev committed Feb 24, 2015
1 parent bf9838e commit 76f6da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Query/Builder.php
Expand Up @@ -172,7 +172,7 @@ class Builder {
*/
protected $operators = array(
'=', '<', '>', '<=', '>=', '<>', '!=',
'like', 'not like', 'between', 'ilike',
'like', 'like binary', 'not like', 'between', 'ilike',
'&', '|', '^', '<<', '>>',
'rlike', 'regexp', 'not regexp',
'~', '~*', '!~', '!~*', 'similar to',
Expand Down

0 comments on commit 76f6da4

Please sign in to comment.