Module: UState::QueryString::Greater1

Defined in:
lib/ustate/query_string.rb

Instance Method Summary collapse

Instance Method Details

#queryObject



815
816
817
# File 'lib/ustate/query_string.rb', line 815

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

#sqlObject



819
820
821
# File 'lib/ustate/query_string.rb', line 819

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