Module: Sequel::SQL::InequalityMethods

Included in:
Dataset, LiteralString, GenericExpression, NumericExpression, StringExpression, Symbol
Defined in:
lib/sequel/sql.rb

Overview

This module includes the inequality methods (>, <, >=, <=) that are defined on objects that can be used in a numeric or string context in SQL (Symbol (except on ruby 1.9), LiteralString, SQL::GenericExpression).

'a'.lit > :b # a > "b"
'a'.lit < :b # a > "b"
'a'.lit >= :b # a >= "b"
'a'.lit <= :b # a <= "b"