You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get a list of filtered documents inside a transaction, but I'm not being able to achieve this behavior.
final collectionRef = _firestore.collection('users');
final filteredCollection = collectionRef.where('id', isGreaterThan:5);
final snapshot =await _transaction.get(filteredCollection); // <--- It seems to not be possible
It seems that Transaction.get is only able to perform a single document fetch. There is something that I'm missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get a list of filtered documents inside a transaction, but I'm not being able to achieve this behavior.
It seems that
Transaction.get
is only able to perform a single document fetch. There is something that I'm missing?Beta Was this translation helpful? Give feedback.
All reactions