Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

101
Views
How to perform mongoexport without "numberLong" objects

I did a mongoexport dump of a database:

$ mongoexport -d my_db -c articles

and I'm seeing some of our ids are wrapped in "$numberLong" objects. Unfortunately, it isn't consistent. Some filemakerIds are just plain ints:

{"_id":{"$oid":"52126317036480948dc2abf2"},"filemakerId":4129,

and some are not:

{"_id":{"$oid":"52126317036480948dc2abf1"},"filemakerId":{"$numberLong":"4073"},

These ids will always be a 3 or 4 digit number. It would be easier for me if the dump consistently displayed them as an Int ( eg "filemakerId":4129). Can mongoexport force this?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!