mongodb - Ruby gem 'mongo' insert number as long -
i'm using mongo
gem in ruby , want insert record , want value stored numberlong
via mongo ssh console can db.somecoll.insert({"key" : numberlong("123456789"})
and when i'll use find i'll field numberlong
. how can same insert query via mongo
ruby gem?
thanks ahead
Comments
Post a Comment