Write a mongoimport command to import data from a CSV file called test.csv into a database mydb, collection my_collection, filepath /path/to/test.csv . Use the first line of the CSV file as the field names for the MongoDB documents.
Importing and exporting data
<code>Mongoimport</code> CSV upload
Report a typo
Enter a short text
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.