
commonMain.com.estiven.firebase_firestore.DocumentReference.kt Maven / Gradle / Ivy
Go to download
FirebaseKMM is a Firebase Extension that supports cross-platform projects also based on Firebase Kotlin SDK, allowing you to directly from iOS and Android.
package com.estiven.firebase_firestore
import kotlinx.coroutines.flow.Flow
expect class DocumentReference {
val id: String
val parent: CollectionReference
val path: String
val snapshotListener: Flow
val firestore: FirebaseFirestore
suspend fun delete()
suspend fun set(data: Any)
suspend fun update(data: MutableMap)
suspend fun get(): DocumentSnapshot
suspend fun get(source: Source): DocumentSnapshot
fun collection(collectionPath: String): CollectionReference
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy