Module: UState::QueryString::Equals1

Defined in:
lib/ustate/query_string.rb

Instance Method Summary collapse

Instance Method Details

#queryObject



975
976
977
# File 'lib/ustate/query_string.rb', line 975

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

#sqlObject



979
980
981
# File 'lib/ustate/query_string.rb', line 979

def sql
  Sequel::SQL::BooleanExpression.from_value_pairs field.sql => value.sql
end