Module: MongoQueryGrammar::BinaryExpression4

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

Instance Method Summary collapse

Instance Method Details

#field_nameObject



260
261
262
# File 'lib/mongo-query/mongo_query_grammar.rb', line 260

def field_name
  elements[0]
end

#operatorObject



268
269
270
# File 'lib/mongo-query/mongo_query_grammar.rb', line 268

def operator
  elements[2]
end

#space1Object



264
265
266
# File 'lib/mongo-query/mongo_query_grammar.rb', line 264

def space1
  elements[1]
end

#space2Object



272
273
274
# File 'lib/mongo-query/mongo_query_grammar.rb', line 272

def space2
  elements[3]
end

#valueObject



276
277
278
# File 'lib/mongo-query/mongo_query_grammar.rb', line 276

def value
  elements[4]
end