Class: RecordFilter::Restrictions::LessThan

Inherits:
Base
  • Object
show all
Defined in:
lib/record_filter/restrictions.rb

Instance Method Summary collapse

Methods inherited from Base

class_from_operator, #initialize, #to_conditions, #to_negative_sql, #to_sql

Constructor Details

This class inherits a constructor from RecordFilter::Restrictions::Base

Instance Method Details

#to_positive_sqlObject



47
48
49
# File 'lib/record_filter/restrictions.rb', line 47

def to_positive_sql
  "#{@column_name} < ?"
end