54
rated 0 times
[
59]
[
5]
/ answers: 1 / hits: 6512
/ 5 Years ago, mon, march 11, 2019, 12:00:00
this.unsubscribe = this.refAssign.where(‘email’, ‘==’, this.state.user.email ).onSnapshot(this.onCollectionUpdate);
FirebaseError: Function Query.where() requires a valid third argument,
but it was undefined.
I’ve got this message. What I should write for the third argument as I want it to return each one of the User which has the same email as in Assign collection ?
More From » reactjs