我试图查询和获取所有的收集内的帖子。<pre>
function show_items(){ firebase.auth().onAuthStateChangeddbs.collection('items').doc(u_id).collection('post').get().then(querySnapshot => {
c
我希望通过使用Node.js的firebase中的formId字段来获得文档。formId在映射中,所以我不确定如何使用get()函数来处理它。这是我的React代码,它没有工作。useEffect(() => { // Createcollection where we can match the formId
我正在使用Firebase web api与Expo一起构建一个React Native应用程序,并尝试从我的Firestore项目中检索文档集合。根据上的文档,我应该能够使用集合快照提供的forEach()方法遍历集合,如下所示:.collection('services').then(snapshot => { if (doc && doc.exis
我试图返回特定集合中的所有文档ID。我正在为一个web应用程序用Javascript写这个。我做了这个函数,并在需要的地方调用它。function getUserList() { var db = firebase.firestoreUserStatus
.get().then(function(querySnapshot) {