Description Usage Arguments Value See Also Examples
Get a lists of hosts & ports as reported by a replica set master upon connection creation.
1 |
mongo |
(mongo) a mongo connection object. |
NULL if a replica set was not connected to; otherwise, a list of host & port strings in the format "
mongo.create
,
mongo
1 2 3 4 5 6 | ## Not run:
mongo <- mongo.create(c("127.0.0.1", "192.168.0.3"), name="Inventory")
if (mongo.is.connected(mongo))
print(mongo.get.hosts(mongo))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.