Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 0
1 answer
46 views

Is it possible to import document like this? {"item_id": UUID("1efaf16f-9c65-6d08-b431-e33e95e34a5e"), name: "yyy"} I got next error Failed: error processing document #1:...
Score of 0
0 answers
37 views

I have an requirement to update existing mongo db document after reading some relevant data from hdfs saved as csv Steps I am taking care of Created a view on mongo collection to convert _id to it ...
Score of 0
1 answer
46 views

I have created collection "mycollection" with the following mongoschema db.createCollection("testing",{ validator: { $jsonSchema: { bsonType: "object&...
Score of 0
2 answers
202 views

I have alot of JSON objects which seem to be exports of collections exported as one document which contains an array of the documents in the collection. I am having a problem importing it to Mongodb ...
Score of 0
1 answer
87 views

I am newbie to mongoDB. Currently I have a dataframe with the full path to 36000 json files. I downloaded the mongoimport and placed it in my install bin directory. I would like to create a loop of ...
Score of 0
1 answer
652 views

I want to import csv files into MongoDB. I found that there is a command "mongoimport" to import files. Based on mongoimport documentation I have installed the Database Tools for Windows: I ...
Score of 0
0 answers
79 views

I am looking into how to use mongoimport on my container running a python program to send a file on that python container over to another container on the same docker network.Currently I am using the ...
Score of 0
1 answer
133 views

I am trying to use mongoimport to upload a CSV file into my MongoAtlas DB. The URI connection string it gave me to use is mongoimport --uri "mongodb+srv://[user]:[password]@testing-database.nz31d....
Score of 0
0 answers
87 views

So, to start of, I have 2 machines; 1 with the file that is to be imported, and the other hosting a MongoDB instance. The MongoDB instance is native and running on port 27017. There is no clustering, ...
Score of 0
1 answer
355 views

FROM mongo COPY . /data/db2/ # Expose the MongoDB port EXPOSE 27017 CMD mongoimport --db test --collection data --file /data/db2/data.json The copy command copy data.json file when Im trying to put ...
Score of 0
0 answers
62 views

I need to fix an old system that has an API built in Symfony and has packages mananged with composer. Basically it has an export routine and an import routine that was working and doesn't work anymore....
Score of 1
1 answer
1867 views

I want to import data into a mongodb collection in an Atlas instance with some data stored in an array. The data is initially is stored in a table in a .csv file like this: name age interests.0 ...
Score of 0
2 answers
571 views

I am trying to run this mongo import command, and this was working fine until yesterday, but now all I get is no such file or directory, I keep on copying the absolute path and it still doesn't work ...
Score of 0
1 answer
259 views

I want to import this json file in upsert mode in mongoDB. File: http://bulk.openweathermap.org/sample/daily_16.json.gz This file is almost 1GB (the compressed version is 90MB as you can see in the ...
Score of 0
0 answers
453 views

I have been to trying to import a csv file in Mongo DB server using 'mongoimport' cmd. The error was "invalid character '_' looking for beginning of value ". When I opened the csv file, ...

15 30 50 per page
1
2 3 4 5
25