Skip to content

ColumnType.Length() Support #1132

Closed as not planned
Closed as not planned
@hundredwatt

Description

@hundredwatt

The README states "This driver supports the ColumnType interface introduced in Go 1.8, with the exception of ColumnType.Length(), which is currently not supported."

I found the ColumnTypeLength function commented out here:

mysql/rows.go

Lines 66 to 68 in 578c4c8

// func (rows *mysqlRows) ColumnTypeLength(i int) (length int64, ok bool) {
// return int64(rows.rs.columns[i].length), true
// }

Based on the discussion in #667, it appears there were no limiting factors preventing this from being implemented: #667 (comment).

@julienschmidt can you confirm? Is this something that no one has gotten to yet? Or did you find some sort of limitation trying to implement this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions