Packagecom.myflashlab.air.extensions.firebase.firestore
Classpublic class QuerySnapshot
InheritanceQuerySnapshot Inheritance Object

A QuerySnapshot contains the results of a query. It can contain zero or more DocumentSnapshot objects.



Public Properties
 PropertyDefined By
  documentChanges : Vector.<DocumentChange>
[read-only] Returns the list of documents that changed since the last snapshot.
QuerySnapshot
  documents : Vector.<DocumentSnapshot>
[read-only] Returns the documents in this QuerySnapshot as a List in order of the query.
QuerySnapshot
  isEmpty : Boolean
[read-only] Returns true if there are no documents in the QuerySnapshot.
QuerySnapshot
  metadata : SnapshotMetadata
[read-only] The metadata for this document snapshot.
QuerySnapshot
  reference : Query
[read-only]
QuerySnapshot
  size : int
[read-only] Returns the number of documents in the QuerySnapshot.
QuerySnapshot
Property Detail
documentChangesproperty
documentChanges:Vector.<DocumentChange>  [read-only]

Returns the list of documents that changed since the last snapshot. If it's the first snapshot all documents will be in the list as added changes.


Implementation
    public function get documentChanges():Vector.<DocumentChange>
documentsproperty 
documents:Vector.<DocumentSnapshot>  [read-only]

Returns the documents in this QuerySnapshot as a List in order of the query.


Implementation
    public function get documents():Vector.<DocumentSnapshot>
isEmptyproperty 
isEmpty:Boolean  [read-only]

Returns true if there are no documents in the QuerySnapshot.


Implementation
    public function get isEmpty():Boolean
metadataproperty 
metadata:SnapshotMetadata  [read-only]

The metadata for this document snapshot.


Implementation
    public function get metadata():SnapshotMetadata
referenceproperty 
reference:Query  [read-only]


Implementation
    public function get reference():Query
sizeproperty 
size:int  [read-only]

Returns the number of documents in the QuerySnapshot.


Implementation
    public function get size():int