Skip to content

Commit

Permalink
Update mongodb-quiz.md (#4216)
Browse files Browse the repository at this point in the history
  • Loading branch information
VedantMadane authored Aug 13, 2022
1 parent a6bf5c7 commit 6717d0e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mongodb/mongodb-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -588,3 +588,17 @@ Note: count() works with find(...) but length works with distinct
- [ ] XML

[MongoDB reference](https://www.mongodb.com/docs/manual/core/read-preference-tags/)

#### Q82. When using the mongoimport command, how can you drop the database before importing?

- [ ] Use the -d option.

This comment has been minimized.

Copy link
@beltz18

beltz18 Sep 8, 2022

Contributor

this is the correct answer

- [ ] Use the mongooverwrite command instead of mongoimport.
- [ ] Use the -drop option.
- [ ] Drop the database manually before importing.

#### Q83. To import a CSV file into MongoDB, which command should you issue?

- [ ] upload
- [ ] mongorestore
- [ ] mongoi
- [x] mongoimport

0 comments on commit 6717d0e

Please sign in to comment.