get

actual fun get(documentRef: DocumentReference): DocumentSnapshot(source)

Reads documentRef inside the transaction. The JS SDK reads inside a transaction asynchronously, so on JS this throws UnsupportedOperationException: code that also targets JS uses the suspending io.github.corneloaie.firebase.firestore.Transaction.get instead.

actual fun get(documentRef: DocumentReference): DocumentSnapshot(source)

Reads documentRef inside the transaction; the nonJsMain Transaction.get extension.

expect fun get(documentRef: DocumentReference): DocumentSnapshot(source)

Reads documentRef inside the transaction. The JS SDK reads inside a transaction asynchronously, so on JS this throws UnsupportedOperationException: code that also targets JS uses the suspending io.github.corneloaie.firebase.firestore.Transaction.get instead.

actual fun get(documentRef: DocumentReference): DocumentSnapshot(source)

Throws: the JS SDK reads inside a transaction asynchronously; use the suspending io.github.corneloaie.firebase.firestore.Transaction.get.

actual fun get(documentRef: DocumentReference): DocumentSnapshot(source)

Throws: the JS SDK reads inside a transaction asynchronously; use the suspending io.github.corneloaie.firebase.firestore.Transaction.get.