Skip to content

bit(1) column cannot parse it into bool #113

@StrikeW

Description

@StrikeW

Hi @blackbeam, I have a bit(1) column in mysql and I cannot parse it into bool. I find that the code matches [b'0'] and [b'1']. I am curious that why need to match char '0' and '1' instead of byte 0x0 and 0x1 here? Why not also add patterns to match [0] and [1]?
version: mysql_common-0.31.0

image

related: #3

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