Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support MySQL tinyint(1) type conversion to Bool #41

Open
ryantm opened this issue Apr 20, 2016 · 0 comments
Open

Feature: Support MySQL tinyint(1) type conversion to Bool #41

ryantm opened this issue Apr 20, 2016 · 0 comments

Comments

@ryantm
Copy link
Contributor

ryantm commented Apr 20, 2016

Right now, when we do type conversion between column types and Haskell types, we only have access to the name of the type (for example, "tinyint"), and not the entire definition of the type (for example, "tinyint(1)") It would be nice to be able to use the entire definition of the type, because you might want to do something different with the type based on the M, D, or fsp parts of the type definition described here: http://dev.mysql.com/doc/refman/5.7/en/data-types.html For example, it would be nice to convert tinyint(1) to Bool.

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

No branches or pull requests

1 participant