Creates a new QuerySnapshot instance.
Array of document snapshots.
Underlying query.
Snapshot metadata.
ReadonlydocsAn array of all the documents in the QuerySnapshot.
ReadonlyemptyTrue if there are no documents in the QuerySnapshot.
ReadonlymetadataMetadata about this snapshot, concerning its source and if it has local modifications.
ReadonlyqueryThe query on which you called get() or onSnapshot() in order to get this QuerySnapshot.
ReadonlysizeThe number of documents in the QuerySnapshot.
Returns an array of document changes.
Optionaloptions: { includeMetadataChanges: boolean }Options for changes.
Array of document changes.
The document affected by this change.
The index of the changed document in the result set immediately after this DocumentChange (i.e. supposing that all prior DocumentChange objects have been applied). -1 for 'removed' events.
The index of the changed document in the result set immediately prior to this DocumentChange (i.e. supposing that all prior DocumentChange objects have been applied). -1 for 'added' events.
The type of change ('added', 'modified', or 'removed').
Enumerates all of the documents in the QuerySnapshot.
Callback function to execute for each document.
OptionalthisArg: anyChecks whether this QuerySnapshot is equal to the provided one.
Snapshot to compare.
True if equal, false otherwise.
QuerySnapshot - Snapshot class to store the results of query execution.