Class: FilterParam::Operators::LessThan

Inherits:
FieldFilterOperator show all
Defined in:
lib/filter_param/operators/less_than.rb

Class Method Summary collapse

Methods inherited from FieldFilterOperator

operand_data_type

Methods inherited from FilterParam::Operator

binaries, for, operator_tag, register, tag, type, unaries

Class Method Details

.sql(field, literal) ⇒ Object



7
8
9
10
11
# File 'lib/filter_param/operators/less_than.rb', line 7

def self.sql(field, literal)
  super

  "#{field.actual_name} < #{sql_quote(literal.value)}"
end