( transaction: PrismaPromiseInteractiveTransaction<PayloadType>, )
| 322 | } |
| 323 | |
| 324 | function getItxTransactionOptions<PayloadType>( |
| 325 | transaction: PrismaPromiseInteractiveTransaction<PayloadType>, |
| 326 | ): InteractiveTransactionOptions<PayloadType> { |
| 327 | return { |
| 328 | id: transaction.id, |
| 329 | payload: transaction.payload, |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | function isMismatchingBatchIndex(error: any, transaction: PrismaPromiseTransaction | undefined) { |
| 334 | return hasBatchIndex(error) && transaction?.kind === 'batch' && error.batchRequestIdx !== transaction.index |
no outgoing calls
no test coverage detected