bun icon indicating copy to clipboard operation
bun copied to clipboard

missing checking on rows.Err()

Open TommyLeng opened this issue 2 months ago • 1 comments

https://github.com/uptrace/bun/blob/master/model_map.go https://github.com/uptrace/bun/blob/master/model_scan.go

According to the https://go.dev/doc/tutorial/database-access We should add

if err := rows.Err(); err != nil {
}

But it is missing in these 2 files

TommyLeng avatar Nov 05 '25 09:11 TommyLeng

This issue has been automatically marked as stale because it has not had activity in the last 30 days. If there is no update within the next 7 days, this issue will be closed.

github-actions[bot] avatar Dec 06 '25 03:12 github-actions[bot]