Google News
logo
MongoDB - Quiz(MCQ)
To get the current number of namespaces in the mongo shell, use ___________
A)
db.system.namespaces.count()
B)
db.system.namespaces.countc()
C)
db.system.namespaces.count(*)
D)
All of the above

Correct Answer :   db.system.namespaces.count()


Explanation : The limit on the number of namespaces depend on the <database>.ns size.

Advertisement