agronholm / agronholm/sqlacodegen
Code generation for PostgreSQL composite types
- Lingua principale
- Python
- Stelle
- 2.4k
- Fork
- 284
- Merge medio
- 2g 1h
- PR unite (30g)
- 1
Descrizione
### Things to check first
- [X] 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`](https://sqlalchemy-utils.readthedocs.io/en/latest/data_types.html#module-sqlalchemy_utils.types.pg_composite) 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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.