(transaction: com.google.firebase.firestore.Transaction)
| 217 | _native: com.google.firebase.firestore.Transaction; |
| 218 | |
| 219 | static fromNative(transaction: com.google.firebase.firestore.Transaction) { |
| 220 | if (transaction instanceof com.google.firebase.firestore.Transaction) { |
| 221 | const tran = new Transaction(); |
| 222 | tran._native = transaction; |
| 223 | return tran; |
| 224 | } |
| 225 | return null; |
| 226 | } |
| 227 | |
| 228 | delete<T extends DocumentData = DocumentData>(documentRef: DocumentReference): Transaction { |
| 229 | return Transaction.fromNative(this._native.delete(documentRef.native)); |
nothing calls this directly
no outgoing calls
no test coverage detected