Description Usage Arguments Examples
Creates a RMongo object to use with querying and inserting methods.
1 | mongoDbConnect(dbName, host="127.0.0.1", port=27017)
|
dbName |
Database name. |
host |
Host name. Default to localhost: 127.0.0.1. You can specify a remote host. optional |
port |
Port number. Default to mongodb's default port 27017. optional |
1 | mongo <- mongoDbConnect("test", "127.0.0.1", 27017)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.