Package-level declarations

Types

Link copied to clipboard
@Serializable(with = BaseTimestampSerializer::class)
sealed class BaseTimestamp

A base class that could be used to combine Timestamp and Timestamp.ServerTimestamp in the same field.

Link copied to clipboard
object BaseTimestampSerializer : KSerializer<BaseTimestamp>

A serializer for BaseTimestamp. Must be used with FirebaseEncoder/FirebaseDecoder.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The sort direction of an orderBy; the Android-SDK-shaped com.google.firebase.firestore.Query.Direction.

Link copied to clipboard
class DocumentChange(val compat: DocumentChange)
Link copied to clipboard

A class representing a Firebase DocumentReference.

Link copied to clipboard

A serializer for DocumentReference. If used with FirebaseEncoder performs serialization using native Firebase mechanisms.

Link copied to clipboard
data class DocumentSnapshot
Link copied to clipboard
object DoubleAsTimestampSerializer : KSerializer<Double>

A serializer for a Double field which is stored as a Timestamp.

Link copied to clipboard

The Android-SDK-shaped field path the platform SDKs take.

Link copied to clipboard
class FieldPath
Link copied to clipboard

A builder for generating a collection of updates to a document. Updates can be applied to either a String field or to a FieldPath. Within this builder custom serialization can be applied to the update.

Link copied to clipboard
@Serializable(with = FieldValueSerializer::class)
class FieldValue

Represents a Firebase FieldValue.

Link copied to clipboard

A builder for generating the field values of a Query. The order of the field values must match the order by clauses of the Query

Link copied to clipboard
object FieldValueSerializer : KSerializer<FieldValue>

A serializer for FieldValue. Must be used in conjunction with FirebaseEncoder.

Link copied to clipboard
sealed class Filter
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual data class FirebaseFirestoreSettings
actual data class FirebaseFirestoreSettings
actual data class FirebaseFirestoreSettings
actual data class FirebaseFirestoreSettings
Link copied to clipboard
Link copied to clipboard
@Serializable(with = GeoPointSerializer::class)
class GeoPoint

A class representing a Firebase GeoPoint.

Link copied to clipboard
object GeoPointSerializer : KSerializer<GeoPoint>

Serializer for GeoPoint. If used with FirebaseEncoder performs serialization using native Firebase mechanisms.

Link copied to clipboard
sealed interface LocalCacheSettings
Link copied to clipboard
Link copied to clipboard

Represents a platform specific Firebase FieldValue; the Android-SDK-shaped com.google.firebase.firestore.FieldValue.

Link copied to clipboard

A class representing a platform specific Firebase GeoPoint; the Android-SDK-shaped com.google.firebase.firestore.GeoPoint.

Link copied to clipboard

A class representing a platform specific Firebase Timestamp; the Android-SDK-shaped com.google.firebase.Timestamp.

Link copied to clipboard
open class Query
Link copied to clipboard
class QuerySnapshot(val compat: QuerySnapshot)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
enum Source : Enum<Source>
Link copied to clipboard

A class representing a Firebase Timestamp.

Link copied to clipboard
object TimestampSerializer : KSerializer<Timestamp>

A serializer for Timestamp. Must be used with FirebaseEncoder/FirebaseDecoder.

Link copied to clipboard
data class Transaction
Link copied to clipboard
sealed interface WhereConstraint
Link copied to clipboard
data class WriteBatch

Properties

Link copied to clipboard

Returns the FirebaseFirestore instance of the default FirebaseApp.

Link copied to clipboard
val ChangeType.ios: FIRDocumentChangeType

The change type as the Firebase iOS SDK's.

val CollectionReference.ios: FIRCollectionReference
val DocumentChange.ios: FIRDocumentChange
val DocumentReference.ios: FIRDocumentReference
val DocumentSnapshot.ios: FIRDocumentSnapshot
val FirebaseFirestore.ios: FIRFirestore
val Query.ios: FIRQuery
val QuerySnapshot.ios: FIRQuerySnapshot
val SnapshotMetadata.ios: FIRSnapshotMetadata
val Transaction.ios: FIRTransaction
val WriteBatch.ios: FIRWriteBatch

The underlying Firebase iOS SDK object.

val FieldPath.ios: FIRFieldPath

The field path as the Firebase iOS SDK's.

val LocalCacheSettings.ios: FIRLocalCacheSettingsProtocol

The cache settings as the Firebase iOS SDK's.

Functions

Link copied to clipboard
fun Firebase.firestore(app: FirebaseApp, databaseId: String? = null): FirebaseFirestore

Returns the FirebaseFirestore instance of a given FirebaseApp, and of the named database when databaseId is given.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun CollectionReference.Companion.invoke(ios: FIRCollectionReference): CollectionReference
operator fun DocumentReference.Companion.invoke(ios: FIRDocumentReference): DocumentReference
operator fun DocumentSnapshot.Companion.invoke(ios: FIRDocumentSnapshot): DocumentSnapshot
operator fun FirebaseFirestore.Companion.invoke(ios: FIRFirestore): FirebaseFirestore
operator fun Query.Companion.invoke(ios: FIRQuery): Query
operator fun Transaction.Companion.invoke(ios: FIRTransaction): Transaction
operator fun WriteBatch.Companion.invoke(ios: FIRWriteBatch): WriteBatch
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Query.where(path: FieldPath, equalTo: Any?): Query
fun Query.where(field: String, equalTo: Any?): Query
fun Query.where(path: FieldPath, inArray: List<Any>? = null, arrayContainsAny: List<Any>? = null): Query
fun Query.where(field: String, inArray: List<Any>? = null, arrayContainsAny: List<Any>? = null): Query
fun Query.where(path: FieldPath, lessThan: Any? = null, greaterThan: Any? = null, arrayContains: Any? = null): Query
fun Query.where(field: String, lessThan: Any? = null, greaterThan: Any? = null, arrayContains: Any? = null): Query