Can I execute atomic transactions with MongoDB from R?

61 Views Asked by At

As the title states: Is there a way with any of the mongodb-clients in R to execute atomic transactions? If so, how would I do this? I couldn't find any documentation on this topic.

1

There are 1 best solutions below

2
On

I think you should be able to use DBI that package allows for transactions (dbBegin, dbCommit usw). It seems you can make a connection with odbc: https://db.rstudio.com/databases/mongodb/ . I have not tested this but it seems it should work.