Description Usage Arguments Value Note Examples
list collections in AWS mongo server for txregnet
1 2 | txregCollections(ignore = NULL, url = URL_txregInAWS(),
db = "txregnet", cliparms = "--quiet --eval")
|
ignore |
NULL by default; otherwise an integer vector telling which lines of mongo db.getCollectionNames() result should be ignored |
url |
a valid mongodb URL |
db |
character(1) db name |
cliparms |
character(1) arguments to 'mongo', defaults to '–quiet –eval' |
a character vector of collection names
Different mongodb servers can have different response prologues. The ignore parameter is there to bypass some of the initial text. However, with the –quiet option this may not be needed. We now search for "[" to start parsing the collection list output.
1 | if (verifyHasMongoCmd()) txregCollections()[seq_len(5)]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.