Module Sequel::SQL::StringMethods
In: lib/sequel/sql.rb

This module includes the methods that are defined on objects that can be used in a string context in SQL (Symbol, LiteralString, SQL::Function, and SQL::StringExpression).

This defines the like (LIKE) and ilike methods, used for pattern matching. like is case sensitive, ilike is case insensitive.

Methods

ilike   like  

Public Instance methods

Create a BooleanExpression case insensitive pattern match of self with the given patterns. See StringExpression.like.

[Source]

     # File lib/sequel/sql.rb, line 342
342:       def ilike(*ces)
343:         StringExpression.like(self, *(ces << {:case_insensitive=>true}))
344:       end

Create a BooleanExpression case sensitive pattern match of self with the given patterns. See StringExpression.like.

[Source]

     # File lib/sequel/sql.rb, line 348
348:       def like(*ces)
349:         StringExpression.like(self, *ces)
350:       end

[Validate]