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

python - argument must be rect style object - Pygame -

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

c# - Better 64-bit byte array hash -