Description Usage Arguments Value See Also Examples
Returns TRUE if the parameter mongo object is connected to a MongoDB server; otherwise, FALSE.
1 |
mongo |
(mongo) a mongo connection object. |
Logical TRUE if the mongo connection object is currently connected to a server; otherwise, FALSE.
mongo.create
,
mongo.
1 2 3 4 | mongo <- mongo.create()
if (mongo.is.connected(mongo)) {
print(mongo.count(mongo, "test.people"))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.