Skip to content

Add support for bit(1) reading #68

@girng

Description

@girng

Was reading over #12 but am not sure if it's related :P

I have a bit(1) field in MYSQL called hardcore:

The query_all:
db.query_all "select hardcore from rpg_characters where user_id = ? ", client.user_id, as: {Bool}

The error:
not supported read

I've tried UInt8, Int8, and BitArray.new(1) with no prevail. I'm not sure if this is a suggestion (if it can be done already, then please close). But figured I'd make an issue to shed some light on it. Thanks for reading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions