2.2
版本发布时间: 2017-02-27 23:51:17
pallets-eco/flask-sqlalchemy最新发布版本:3.1.1(2023-09-12 05:43:39)
Install or upgrade
Install from PyPI with pip:
pip install -U Flask-SQLAlchemy
Changelog
- Minimum SQLAlchemy version is 0.8 due to use of
sqlalchemy.inspect
. - Added support for custom
query_class
andmodel_class
as args to theSQLAlchemy
constructor. (#328) - Allow listening to SQLAlchemy events on
db.session
. (#364) - Allow
__bind_key__
on abstract models. (#373) - Allow
SQLALCHEMY_ECHO
to be a string. (#409) - Warn when
SQLALCHEMY_DATABASE_URI
is not set. (#443) - Don't let pagination generate invalid page numbers. (#460)
- Drop support of Flask < 0.10. This means the db session is always tied to the app context and its teardown event. (#461)
- Tablename generation logic no longer accesses class properties unless they are
declared_attr
. (#467)
1、 Flask-SQLAlchemy-2.2.tar.gz 98.38KB
2、 Flask-SQLAlchemy-2.2.tar.gz.asc 488B
3、 Flask_SQLAlchemy-2.2-py2.py3-none-any.whl 14.53KB