Does firestore support collection level locks in transaction?

南笙酒味 提交于 2021-02-08 08:14:14

问题


I have worked in a mongodb, which is no sql database and it support document level locks only. As firestore is also no sql database, does it support document level locks or it allows collection level locks?


回答1:


The only operation you have for locking is document locking with transactions. There is no collection locking in Firestore.



来源:https://stackoverflow.com/questions/52861431/does-firestore-support-collection-level-locks-in-transaction

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!