reference.
•
ListenerRegistration
interface represents a Firestore subscription listener.
• You can call
addSnapshotListener()
on a collection reference
to start listening
for data changes at a specific location.
•
Queries
are used to get only a
subset
of the documents within a collection.
• Cloud Firestore stores a copy
of data that your app is using, locally, so that you can
access
the data, if the device goes offline.
• You can also use
orderBy()
and
limit()
, on
the collection reference, to get only
specific documents from a collection.
•
allows you to split
your database data into
chunks
so that you don't
need to fetch all your data at once.
• To ensure good performance for every query, Firestore
requires an index, when
creating them.
Do'stlaringiz bilan baham: