Method: Sequel::SQL::StringMethods#like

Defined in:
lib/sequel/sql.rb

#like(*ces) ⇒ Object

Create a BooleanExpression case sensitive (if the database supports it) pattern match of the receiver with the given patterns. See StringExpression.like.

Sequel[:a].like('A%') # "a" LIKE 'A%' ESCAPE '\'


966
967
968
# File 'lib/sequel/sql.rb', line 966

def like(*ces)
  StringExpression.like(self, *ces)
end