Method: Sequel::SQL::StringMethods#ilike
- Defined in:
- lib/sequel/sql.rb
#ilike(*ces) ⇒ Object
Create a BooleanExpression case insensitive pattern match of the receiver with the given patterns. See StringExpression.like.
:a.ilike('A%') # "a" ILIKE 'A%' ESCAPE '\'
927 928 929 |
# File 'lib/sequel/sql.rb', line 927 def ilike(*ces) StringExpression.like(self, *(ces << {:case_insensitive=>true})) end |