Explanation:show databases is new in version 2.4. 9. Command to check existence of collection is :
A. show collection
B. show collections
C. show collect
D. None of the mentioned
Answer:A
Explanation:show databases is new in version 2.4. 9. Command to check existence of collection is :
A. show collection B. show collections C. show collect D. None of the mentioned
Explanation:The mongo shell will return the list of the collections in the current database. 10. Which of the following method is used to query documents in collections ?