Module: UState::QueryString::Less1

Defined in:
lib/ustate/query_string.rb

Instance Method Summary collapse

Instance Method Details

#queryObject



655
656
657
# File 'lib/ustate/query_string.rb', line 655

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

#sqlObject



659
660
661
# File 'lib/ustate/query_string.rb', line 659

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