in reply to Re^2: MongoDB or Perl Data type?
in thread MongoDB or Perl Data type?
thank you,but no answer. the driver's author Kristina reply me with: 'This is intentional, Perl saves all numbers as 64-bit integers on 64-bit platforms, and NumberLong is how the shell displays 64-bit numbers. See http://www.mongodb.org/display/DOCS/Overview+-+The+MongoDB+Interactive+Shell#Overview-TheMongoDBInteractiveShell-Numbers.' insert number using mongodb shell is ok,it just a basic number,but use perl driver MongoDB,it became NumberLong(*) ,who can help me?
I think you just got your answer, there is nothing you can do about it (short of writing your own MongoDB driver)
|
|---|