
commonMain.com.estiven.firebase_firestore.CollectionReference.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 CollectionReference : Query {
val id: String
val parent: DocumentReference?
val path: String
val firestore: FirebaseFirestore
fun snapshots(metadataChanges: MetadataChanges): Flow
fun document(): DocumentReference
fun document(documentPath: String): DocumentReference
suspend fun add(data: Any): DocumentReference
suspend fun get(): QuerySnapshot
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy