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
If I perform a nested read that is deeper than 2 levels ie FirebaseFirestore.instance.doc(a/b/c).get(), the snapshot.data.data() field always returns null (when snap.hasData). For efficiency reasons, I'd like to perform partial reads (ie field c of document b), is this possible or can I only retrieve the whole document as a snapshot?
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.
-
If I perform a nested read that is deeper than 2 levels ie
FirebaseFirestore.instance.doc(a/b/c).get()
, thesnapshot.data.data()
field always returnsnull
(whensnap.hasData
). For efficiency reasons, I'd like to perform partial reads (ie fieldc
of documentb
), is this possible or can I only retrieve the whole document as a snapshot?Beta Was this translation helpful? Give feedback.
All reactions