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 332
332:       def ilike(*ces)
333:         StringExpression.like(self, *(ces << {:case_insensitive=>true}))
334:       end

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

[Source]

     # File lib/sequel/sql.rb, line 338
338:       def like(*ces)
339:         StringExpression.like(self, *ces)
340:       end

[Validate]