Module: MongoQueryGrammar::BinaryExpression1

Defined in:
lib/mongo-query/mongo_query_grammar.rb

Instance Method Summary collapse

Instance Method Details

#to_mongoObject



210
211
212
# File 'lib/mongo-query/mongo_query_grammar.rb', line 210

def to_mongo
  {field_name.to_mongo=>literal.to_mongo}
end