Open sidzan opened 5 years ago
@n6g7 any suggestions on this would be great !
// First get the collection reference using the firebase libraries: const colRef = firebase.firestore().collection("users")
// Then you can do like, const snapshot = yield call(rsf.firestore.getCollection, colRef.where("userId", "==", "gLRK62fqIue0iP23jki9wVTkcqo8"))
I am having trouble getting .where () query to work using this library.
I tried doing the following in my saga
And it seems to work, however, documents on yield show warning as
Is this the correct approach? Any suggestion or hint is much appreciated :)
Here is the stackoverflow link too