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