Radar · Go · Archive · Week 18 · Apr 27 – May 3, 2026
database/sql/driver: allow driver to entirely override Scan
Worth knowingstdlib
- What changed
- The proposal introduces
sql.ConvertAssignand a newdriver.RowsColumnScannerinterface that lets drivers scan directly into user‑provided destinations. - Production impact
- The source does not say.
- Try it
- Implement a minimal driver that uses
RowsColumnScannerto scan a column into a custom type and observe the behavior. - Source
- github.com/golang/go/issues/67546
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed