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

Code generation for PostgreSQL composite types #268

Open
1 task done
amacfie-tc opened this issue Jun 9, 2023 · 0 comments
Open
1 task done

Code generation for PostgreSQL composite types #268

amacfie-tc opened this issue Jun 9, 2023 · 0 comments

Comments

@amacfie-tc
Copy link
Contributor

Things to check first

  • I have searched the existing issues and didn't find my feature already requested there

Feature description

Right now if a column has a composite type, it is generated as Column(NullType) with Python type Any. With CompositeType from sqlalchemy-utils maybe it's possible to generate code for composite types.

Use case

There would be somewhat nicer syntax for setting and getting columns with composite types, and more information from the schema would be represented in Python form.

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

No branches or pull requests

1 participant