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 without SQLAlchemy dependency #72

Open
d0rich opened this issue Jan 10, 2025 · 0 comments
Open

Code without SQLAlchemy dependency #72

d0rich opened this issue Jan 10, 2025 · 0 comments

Comments

@d0rich
Copy link

d0rich commented Jan 10, 2025

As I see, this plugin is targeted primarily on the PostgreSQL users. For this DBMS we can't avoid external dependencies, so the generated code uses SQLAlchemy.

However, SQLite support is a part of Python standard library, and for this DBMS we can generate code with no dependencies.

It would be nice to have no-dependencies mode by default, if SQLite is used. Or at least have an option to exclude SQLAlchemy from the generated code.

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