Bug in queries/reflect.go in which bind does not check rows.Err() prior to returning sql.ErrNoRows
Author: jonderryCreated Nov 10, 2023Updated Apr 2, 2026
Labelshelp wanted
This can cause sql.ErrNoRows to be returned incorrectly when any error occurs before foundOne is set to true. This danger is documented for Bind, but Query.Bind does not check this. Nor does bind.
Source: aarondl/sqlboiler