Module: UState::QueryString::LessEqual1

Defined in:
lib/ustate/query_string.rb

Instance Method Summary collapse

Instance Method Details

#queryObject



575
576
577
# File 'lib/ustate/query_string.rb', line 575

def query
  Query::LessEqual.new field.sql, value.sql
end

#sqlObject



579
580
581
# File 'lib/ustate/query_string.rb', line 579

def sql
  Sequel::SQL::BooleanExpression.new(:<=, field.sql, value.sql)
end