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

"Official" support in DBI for enum columns? #76

Open
mohawk2 opened this issue Feb 13, 2019 · 1 comment
Open

"Official" support in DBI for enum columns? #76

mohawk2 opened this issue Feb 13, 2019 · 1 comment

Comments

@mohawk2
Copy link

mohawk2 commented Feb 13, 2019

Is there any appetite for having DBI support "enum" columns on column values? It's a pity that MySQL, PostgreSQL, SQLite, and probably others that support such, each have to either not report them through column_info, or have to do their own thing e.g. mysql_values.

It seems to me that optional "if supported" columns in the return from column_info would do: IS_ENUM (a boolean), and ENUM_VALUES (an array-ref).

I'll be happy to make PRs on DBI and relevant DBDs.

@mohawk2
Copy link
Author

mohawk2 commented Feb 13, 2019

Also, a similar question about auto-increment values as they apply to columns, rather than to types.

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