Comments (1)
Currently Flask-SQLAlchemy can only use one engine but it should be trivial to subclass it to support more than one. Check the documentation there, haven't used that myself with recent SQLAlchemy versions yet.
from flask-sqlalchemy.
Related Issues (20)
- Record queries errors on some Postgres queries
- Breaking change in flask-sqlalchmey 3.1.0 HOT 6
- Issue in the ORM caused by Flask-SQLAlchemy HOT 3
- Flask-SQLAlchemy does not behave like SQLAlchemy with the same classes, causing a runtime error HOT 6
- Add documentation related to commit on teardown HOT 1
- async support
- sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) HOT 3
- Incorrect(?) example in documentation
- AttributeError: module 'sqlalchemy.orm' has no attribute 'DeclarativeBase' HOT 2
- AttributeError: module 'sqlalchemy.orm' has no attribute 'DeclarativeBase' HOT 2
- Update Query Class HOT 4
- Proposal : Make pagination query pameters parametrized HOT 1
- Potential memory leak with table polymorphism HOT 1
- Model relationships show typing error when used with `Mapped` type HOT 2
- `SQLAlchemy.__repr__` raises `KeyError` when the default engine is not set. HOT 1
- Python 3.12 changes cause test failures due to deprecation warning
- ImportError: cannot import name '_QueryProperty' from 'flask_sqlalchemy' HOT 1
- Type error when calling db.Model subclass constructor with parameters HOT 7
- The 'db.first_or_404(db.select(User))' method cannot return None when 'User.query()' is empty. HOT 2
- Using SQLite URI filename format for in-memory database still creates a file HOT 2
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 flask-sqlalchemy.