1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:34:40 -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)
}
// RowsColumnScanner may be implemented by [Rows]. It allows the driver to control
// how values or scanned.
// RowsColumnScanner may be implemented by [Rows]. It allows the driver to completely
// 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 {
Rows