Description Usage Arguments Value See Also Examples
Get the host & port of the server to which a mongo object is connected.
1 |
mongo |
(mongo) a mongo connection object. |
String host & port in the format "%s:%d".
mongo.create
,
mongo.
1 2 3 4 5 6 7 | ## Not run:
mongo <- mongo.create(c("127.0.0.1", "192.168.0.3"))
if (mongo.is.connected(mongo)) {
print(mongo.get.primary(mongo))
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.