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

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -