简体   繁体   中英

Can I execute atomic transactions with MongoDB from R?

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM