Explanation:You can provide _id while inserting the document. 7. Which of the following statement will insert 400 documents in to the testData collection ?
A. insertData("test", "testData", 200)
B. insertData("test", "testData", 400)
C. insertData("test", "testData", 600)
D. All of the mentioned
Answer:A
Explanation:You can provide _id while inserting the document. 7. Which of the following statement will insert 400 documents in to the testData collection ?
A. insertData("test", "testData", 200) B. insertData("test", "testData", 400) C. insertData("test", "testData", 600) D. All of the mentioned
Explanation:If the collection and database do not exist, MongoDB creates them implicitly before inserting documents. 8. The mongo shell loads and parses the ___________ file on startup.