(entry: Request.Entry<A>)
| 396 | } |
| 397 | |
| 398 | function transactionKey<A>(entry: Request.Entry<A>): SqlClient.TransactionConnection.Service | undefined { |
| 399 | const client = Context.getOrUndefined(entry.context, SqlClient.SqlClient) |
| 400 | if (!client) return undefined |
| 401 | const conn = Context.getOrUndefined(entry.context, client.transactionService) |
| 402 | if (!conn) return undefined |
| 403 | return Equal.byReferenceUnsafe(conn) |
| 404 | } |
nothing calls this directly
no outgoing calls
no test coverage detected