Command
mongodb db.getCollectionNames() will give you all the collection names that are all in the current database in the list.
I need the same output as pymongo. For a while I searched Google and couldn't find anything like it.
Is there anything similar?
source share