Comments (4)
Moreover - mysql allows to add comments to columns. It would be awsome to get those comments into the generated code!
from sqlacodegen.
There would first have to be support in SQLAlchemy for reflecting those comments to the metadata.
from sqlacodegen.
Ok, thanks for the info. And what about reading comments from external source, like text file formated as:
tableX.column1=some comment text
tableX.column2=some comment text
Such file could be generated by other tool or just be hand-made.
from sqlacodegen.
Why not just add the comments straight to the generated code?
from sqlacodegen.
Related Issues (20)
- sqlacodegen giving Unknown database on mysql+pymysql HOT 5
- sqlacodegen does not document current support channels? HOT 1
- Getting an "ImportError: cannot import name 'ArgSpec' from 'inspect'" Error HOT 5
- Enable `--options` to be used more than once HOT 6
- Stop double pluralization of names
- In the automatically generated model file, the self-incrementing id field does not have the `autoincrement=true` attribute HOT 5
- codegen.py:390: SAWarning: Cannot correctly sort tables HOT 4
- Code generation for PostgreSQL composite types
- Option --generator only works in pre-release package HOT 3
- fix function name in codegen.py for python v3.11 HOT 1
- Nullable relationships require `Optional`
- Error in Generated SQLAlchemy Model for CHAR Column HOT 2
- Constraints Issues with Oracle HOT 1
- Unable to install `sqlacodegen` due to ioutdated PyPI release HOT 2
- Add support for multiple databases binding
- Entry point documentation
- Enhancement: Add Support for pgvector extension HOT 2
- SQLModel codegen produces syntax errors HOT 4
- Syntax Error in 3.0.0rc3 HOT 5
- No poetry package which supports SQLAlchemy 2.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlacodegen.