Module: MongoQueryGrammar::BinaryExpression3

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

Instance Method Summary collapse

Instance Method Details

#field_nameObject



238
239
240
# File 'lib/mongo-query/mongo_query_grammar.rb', line 238

def field_name
  elements[0]
end

#operatorObject



246
247
248
# File 'lib/mongo-query/mongo_query_grammar.rb', line 246

def operator
  elements[2]
end

#space1Object



242
243
244
# File 'lib/mongo-query/mongo_query_grammar.rb', line 242

def space1
  elements[1]
end

#space2Object



250
251
252
# File 'lib/mongo-query/mongo_query_grammar.rb', line 250

def space2
  elements[3]
end

#valueObject



254
255
256
# File 'lib/mongo-query/mongo_query_grammar.rb', line 254

def value
  elements[4]
end