Module: MongoQueryGrammar::Integer1

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

Instance Method Summary collapse

Instance Method Details

#to_mongoObject



1168
1169
1170
# File 'lib/mongo-query/mongo_query_grammar.rb', line 1168

def to_mongo
  text_value.to_i
end