powered by
dbInsertDocument(rmongo.object, collection, doc)
dbGetQuery-methods
mongo <- mongoDbConnect("test") output <- dbInsertDocument(mongo, "test_data", '{"foo": "bar"}') dbDisconnect(mongo)
Run the code above in your browser using DataLab