QuerySnapshot

The results of a Query, mirroring the Android SDK's QuerySnapshot: the documents and the changes since the previous snapshot.

The results of a Query, mirroring the Android SDK's QuerySnapshot: the documents and the changes since the previous snapshot.

Properties

Link copied to clipboard

The changes since the previous snapshot, or every document as added for the first snapshot.

The changes since the previous snapshot, or every document as added for the first snapshot.

The changes since the previous snapshot, or every document as added for the first snapshot.

The changes since the previous snapshot, or every document as added for the first snapshot.

The changes since the previous snapshot, or every document as added for the first snapshot.

Link copied to clipboard

The documents.

The documents.

The documents.

The documents.

The documents.

Link copied to clipboard
val ios: FIRQuerySnapshot

The underlying Firebase iOS SDK object.

Link copied to clipboard
actual val isEmpty: Boolean

Whether there are no documents.

actual val isEmpty: Boolean

Whether there are no documents.

expect val isEmpty: Boolean

Whether there are no documents.

actual val isEmpty: Boolean

Whether there are no documents.

actual val isEmpty: Boolean

Whether there are no documents.

Link copied to clipboard

The underlying Firebase JS SDK object.

The underlying Firebase JS SDK object.

Link copied to clipboard

Whether the snapshot is from the cache or has pending writes.

Whether the snapshot is from the cache or has pending writes.

Whether the snapshot is from the cache or has pending writes.

Whether the snapshot is from the cache or has pending writes.

Whether the snapshot is from the cache or has pending writes.

Link copied to clipboard
actual val query: Query

The query the results belong to.

actual val query: Query

The query the results belong to.

expect val query: Query

The query the results belong to.

actual val query: Query

The query the results belong to.

actual val query: Query

The query the results belong to.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
actual fun getDocumentChanges(metadataChanges: MetadataChanges): List<DocumentChange>

The changes since the previous snapshot, including metadata-only changes when metadataChanges is INCLUDE.

actual fun getDocumentChanges(metadataChanges: MetadataChanges): List<DocumentChange>

The changes since the previous snapshot, including metadata-only changes when metadataChanges is INCLUDE.

expect fun getDocumentChanges(metadataChanges: MetadataChanges): List<DocumentChange>

The changes since the previous snapshot, including metadata-only changes when metadataChanges is INCLUDE.

actual fun getDocumentChanges(metadataChanges: MetadataChanges): List<DocumentChange>

The changes since the previous snapshot, including metadata-only changes when metadataChanges is INCLUDE.

actual fun getDocumentChanges(metadataChanges: MetadataChanges): List<DocumentChange>

The changes since the previous snapshot, including metadata-only changes when metadataChanges is INCLUDE.

Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
actual open operator override fun iterator(): Iterator<QueryDocumentSnapshot>
actual open operator override fun iterator(): Iterator<QueryDocumentSnapshot>
expect open operator override fun iterator(): Iterator<QueryDocumentSnapshot>
actual open operator override fun iterator(): Iterator<QueryDocumentSnapshot>
actual open operator override fun iterator(): Iterator<QueryDocumentSnapshot>
Link copied to clipboard
actual fun size(): Int

The number of documents.

actual fun size(): Int

The number of documents.

expect fun size(): Int

The number of documents.

actual fun size(): Int

The number of documents.

actual fun size(): Int

The number of documents.

Link copied to clipboard
inline fun <T> QuerySnapshot.toObjects(): List<T>

The documents as T; on Apple platforms and JS casts of DocumentSnapshot.data.

inline fun <T> QuerySnapshot.toObjects(serverTimestampBehavior: DocumentSnapshot.ServerTimestampBehavior): List<T>

The documents as T; on Apple platforms and JS casts of DocumentSnapshot.getData.

Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String