Explanation:.Confirm that your session has the mydb database as context, by checking the value of the db object, which returns the name of the current database. 8. Which of the following also returns a list of databases ?
A. show databases
B. show database
C. display dbs
D. All of the mentioned
Answer:A
Explanation:.Confirm that your session has the mydb database as context, by checking the value of the db object, which returns the name of the current database. 8. Which of the following also returns a list of databases ?
A. show databases B. show database C. display dbs D. All of the mentioned
Explanation:show databases is new in version 2.4. 9. Command to check existence of collection is :