中文文档 v?
英文文档 v3.x
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
API
Extension
- class flask_sqlalchemy.SQLAlchemy(app=None, *, metadata=None, session_options=None, query_class=<class 'flask_sqlalchemy.query.Query'>, model_class=<class 'flask_sqlalchemy.model.Model'>, engine_options=None, add_models_to_shell=True)
- class flask_sqlalchemy.model.Model
- class flask_sqlalchemy.session.Session(db, **kwargs)
- class flask_sqlalchemy.pagination.Pagination
- class flask_sqlalchemy.query.Query(entities, session=None)
- flask_sqlalchemy.record_queries.get_recorded_queries()
- flask_sqlalchemy.track_modifications.models_committed¶
This Blinker signal is sent after the session is committed if there were changed models in the session.
The sender is the application that emitted the changes. The receiver is passed the
changes
argument with a list of tuples in the form(instance, operation)
. The operations are"insert"
,"update"
, and"delete"
.- flask_sqlalchemy.track_modifications.before_models_committed¶
This signal works exactly like
models_committed
but is emitted before the commit takes place.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论