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 (verifyHasMongoCmd()) listAllCollections()

[Package TxRegInfra version 1.0.1 Index]