SharedTxRow wraps a pgx.Row such that it unlocks SharedExecutor when the row finishes scanning.
| 150 | // SharedTxRow wraps a pgx.Row such that it unlocks SharedExecutor when |
| 151 | // the row finishes scanning. |
| 152 | type SharedTxRow struct { |
| 153 | sharedTxDerivative |
| 154 | |
| 155 | innerRow pgx.Row |
| 156 | } |
| 157 | |
| 158 | func (r *SharedTxRow) Scan(dest ...any) error { |
| 159 | defer r.unlockParent() |
nothing calls this directly
no outgoing calls
no test coverage detected