1
0
mirror of https://github.com/golang/go synced 2024-11-25 19:27:56 -07:00

Expand RowsColumnScanner documentation

This commit is contained in:
Jack Christensen 2024-06-24 20:17:09 -05:00
parent 1d0c44a496
commit 8402f64b97

View File

@ -515,8 +515,10 @@ type RowsColumnTypePrecisionScale interface {
ColumnTypePrecisionScale(index int) (precision, scale int64, ok bool) ColumnTypePrecisionScale(index int) (precision, scale int64, ok bool)
} }
// RowsColumnScanner may be implemented by [Rows]. It allows the driver to control // RowsColumnScanner may be implemented by [Rows]. It allows the driver to completely
// how values or scanned. // take responsibility for how values are scanned and replace the normal [database/sql].
// scanning path. This allows drivers to directly support types that do not implement
// [database/sql.Scanner].
type RowsColumnScanner interface { type RowsColumnScanner interface {
Rows Rows