Is there anyone can help.
I’m trying to export from MongoDB documents in json format.
The following command returns an error expected $numberInt field to have string value
“C:Program FilesMongoDBmongodb-database-tools-windows-x86_64-100.10.0binmongoexport.exe ” –db=POD_DB –collection=entry –query=”{“status” :{“$numberInt”:”2″} }” –jsonFormat=canonical –out c:developmentImpExpEntryDocumenttest.json –jsonArray
MongoDB Version 5.0.5
George
I’ve tried to change the qoutes . Error result .
George Botsaris is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.