Module: MongoQueryGrammar::BinaryExpression0

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

Instance Method Summary collapse

Instance Method Details

#field_nameObject



192
193
194
# File 'lib/mongo-query/mongo_query_grammar.rb', line 192

def field_name
  elements[0]
end

#literalObject



204
205
206
# File 'lib/mongo-query/mongo_query_grammar.rb', line 204

def literal
  elements[4]
end

#space1Object



196
197
198
# File 'lib/mongo-query/mongo_query_grammar.rb', line 196

def space1
  elements[1]
end

#space2Object



200
201
202
# File 'lib/mongo-query/mongo_query_grammar.rb', line 200

def space2
  elements[3]
end