Answers for "What is the command for listing all collections in a database?"

8

show collections in mongodb

db.getCollectionNames()
Posted by: Guest on June-08-2020

Code answers related to "What is the command for listing all collections in a database?"

Browse Popular Code Answers by Language