Skip to content
This repository has been 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

Open
kartofeell opened this issue Jan 17, 2017 · 0 comments
Open

Comments

@kartofeell
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant