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

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -