Skip to content

convertSimpleArgument converts everything to string #1551

@br3w0r

Description

@br3w0r

Could you please explain why convertSimpleArgument in values.go converts everything to string? If I understood correctly, it then breaks the result from sanitize.SanitizeSQL in (*Conn).SanitizeForSimpleQuery. I tried to make a simple test and the result is as expected – int64 got converted to string
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions