database/sql/driver: someting is wrong in driver.ColumnConverter #20538
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
The ColumnConverter interface does not have anything common with columns and column index.
Column index is actually bind argument index.
If driver implements this interface, and called with query like:
ColumnConverter is called with indexes from 1 to 8, but result have only 1 column.
For reference current godoc:
type ColumnConverter
ColumnConverter may be optionally implemented by Stmt if the statement is aware of its own columns' types and can convert from any type to a driver Value.
The text was updated successfully, but these errors were encountered: