Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Representer::Lightning does not map MySQL TINYInt(1) to boolean value #4

@kartofeell

Description

@kartofeell

When Representer::Lightning is initialized with ActiveRecord Relation, then it queries DB directly and does not apply special type mappings done normally by ActiveRecord. More specifically, it does not map TINYINT(1) MySQL columns to true/false values, but returns 0 or 1 instead.

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