mirror of
https://github.com/golang/go
synced 2024-11-25 17:17:56 -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)
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user