listAllCollections {TxRegInfra} | R Documentation |
list all collections in a database, using command-line interface
listAllCollections(url = "mongodb://127.0.0.1:27017", db = "test")
url |
character(1) mongodb URL |
db |
character(1) mongodb database name |
vector of strings
if (verifyRunningMongodb()) listAllCollections()