mirror of
https://github.com/golang/go
synced 2024-11-22 03:34:40 -07:00
Expand RowsColumnScanner documentation
This commit is contained in:
parent
1d0c44a496
commit
8402f64b97
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user