func (*Rows) ColumnTypes

func (rs *Rows) ColumnTypes() ([]*ColumnType, error)

返回列信息,例如列类型、长度和可空性。某些驱动程序可能不提供某些信息。