listAllCollections: list all collections in a database, using command-line...

Description Usage Arguments Value Examples

View source: R/mongolite.R

Description

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

Usage

1
2
3
4
5
listAllCollections(
  url = "mongodb://127.0.0.1:27017",
  db = "txregnet",
  lisproc = prune_to_server_line
)

Arguments

url

character(1) mongodb URL

db

character(1) mongodb database name

lisproc

a function that processes the reply to 'mongo ... –eval 'db.getCollectionNames()' to extract JSON, defaults to a function that removes all (header) records up to the one containing 'MongoDB server'

Value

vector of strings

Examples

1

vjcitn/TxRegInfra2 documentation built on Jan. 1, 2021, 12:41 p.m.