Skip to content

mysql blob and binary types are converted to text and varchar #776

@mightyguava

Description

@mightyguava

I noticed this happening while working on the Kotlin codegen. By the time it gets down to codegen in the intermediate *compiler.Column values, blob becomes text and varbinary becomes varchar. I couldn't track down what was causing this. I would have expected both these types to turn into []byte in codegen, and mysql_types.go does handle it that way.

image

Metadata

Metadata

Assignees

No one assigned

    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