| Module | Sequel::SQL::StringMethods |
| In: |
lib/sequel_core/sql.rb
|
This module includes the methods that are defined on objects that can be used in a numeric context in SQL (Symbol, LiteralString, SQL::Function, and SQL::StringExpression).
This defines the like (LIKE) method, used for pattern matching.
Create a BooleanExpression case insensitive pattern match of self with the given patterns. See StringExpression.like.
# File lib/sequel_core/sql.rb, line 297
297: def ilike(*ces)
298: StringExpression.like(self, *(ces << {:case_insensitive=>true}))
299: end
Create a BooleanExpression case sensitive pattern match of self with the given patterns. See StringExpression.like.
# File lib/sequel_core/sql.rb, line 303
303: def like(*ces)
304: StringExpression.like(self, *ces)
305: end