listAllCollections {TxRegInfra}R Documentation

list all collections in a database, using command-line interface

Description

list all collections in a database, using command-line interface

Usage

listAllCollections(url = "mongodb://127.0.0.1:27017", db = "test")

Arguments

url

character(1) mongodb URL

db

character(1) mongodb database name

Value

vector of strings

Examples

if (verifyRunningMongodb()) listAllCollections()

[Package TxRegInfra version 1.4.0 Index]