Skip to content Skip to sidebar Skip to footer
Showing posts with the label Google Cloud Firestore

Returning Data From Firebase Firestore Async

I have two methods: //authContext.js const getAllUserData = (dispatch) => { return async (… Read more Returning Data From Firebase Firestore Async

Filter A Collection Group Query In Firestore

I have a database structure as follows (simplified for purposes of this question): Collection: item… Read more Filter A Collection Group Query In Firestore

Add Object Data To Existing Firebase Document

I’m having problems finding the the right approach to adding new data to a Firebase document (using… Read more Add Object Data To Existing Firebase Document

Firestore: How To Correctly Update Multiple Docs With A Query

Base on this: Can Firestore update multiple documents matching a condition, using one query? I do b… Read more Firestore: How To Correctly Update Multiple Docs With A Query

Generate Firestore Document's Doc Id Based On Users' Uids

In my chat app, I have private chat between the two users. I intend to set the chat document's … Read more Generate Firestore Document's Doc Id Based On Users' Uids

Typeerror: This.path.replace Is Not A Function At New Firestoredelete

Trying to remove the users`s data calling a function from app. 'use strict'; const function… Read more Typeerror: This.path.replace Is Not A Function At New Firestoredelete

Firebase Functions Issue And The Difference Between .add() Vs. .doc().set()

I face the following issue since a few weeks (hasn't been an issue before): 1 .add(data) const … Read more Firebase Functions Issue And The Difference Between .add() Vs. .doc().set()

Firestore, Onsnapshot() Or Async/await Issue Or Both

I'm trying to get an array of changes using Firebase Firestore's onShapshot(). I'm havi… Read more Firestore, Onsnapshot() Or Async/await Issue Or Both