所以我正在使用这个包,并且想要应用来填充来自我的firestore中名为'roles‘的集合的数据到我的处于redux状态的firebase/profile数据。在这篇文档中,我的roles集合必须是firestore中的users集合的同级集合,但在我的例子中这是不可能的。working because roles is not sibling of users attachAuthIsReady: true )这是我在firestore
我正在尝试将一个快速字典连接到一个firestore映射字段中。正如我在之前的文章中看到的那样,我已经尝试了多种方法,比如FieldValue.arrayUnion,但它不起作用。//users is the collection and watched is the map field in firestore that I want to update with the dictionarydb.collection("users").document(self.userID).updateDat