Method: Sequel::SQL::Builders#like

Defined in:
lib/sequel/sql.rb

#like(*args) ⇒ Object

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

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


586
587
588
# File 'lib/sequel/sql.rb', line 586

def like(*args)
  SQL::StringExpression.like(*args)
end