Skip to content

Stream long value #1735

@bersace

Description

@bersace

Hi,

Would it be possible to expose a LONG column using a reader interface ? Something like:

var long mysql.LongText
row.Scan(&long)
long.Read(buf)

pgx has something similar for PostgreSQL: https://github.com/jackc/pgx/blob/master/pgproto3/chunkreader.go

What do you think of this ?

Regards,
Étienne

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions