Hey, I don’t want to deal with duplicated/not updated data. Therefore, I’d like to lock the document if there are any update query. Thus, if we try to get document while on updating, we have to wait until the update has done.
How can I solve this problem?
(I’ve done some search but couldn’t find any useful information.)