View source: R/mongo_connection.R
Update existing records
1 2 3 4 5 6 7 8 | db_update(
object,
key,
collection,
suffix = "",
db_name = db_getActive(),
upsert = FALSE
)
|
object |
Object to insert |
key |
Key |
collection |
Collection name |
suffix |
Collection suffix |
db_name |
Database name |
upsert |
Insert a new document if no matching document exists |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.