Module: MongoQueryGrammar::BinaryExpression5

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

Instance Method Summary collapse

Instance Method Details

#field_nameObject



282
283
284
# File 'lib/mongo-query/mongo_query_grammar.rb', line 282

def field_name
  elements[0]
end

#operatorObject



290
291
292
# File 'lib/mongo-query/mongo_query_grammar.rb', line 290

def operator
  elements[2]
end

#space1Object



286
287
288
# File 'lib/mongo-query/mongo_query_grammar.rb', line 286

def space1
  elements[1]
end

#space2Object



294
295
296
# File 'lib/mongo-query/mongo_query_grammar.rb', line 294

def space2
  elements[3]
end

#valueObject



298
299
300
# File 'lib/mongo-query/mongo_query_grammar.rb', line 298

def value
  elements[4]
end