auto
ModuleSource
Methods used for creating the SQLAlchemy extension in the compatible mode.
The compatiblity is supported by the automatic falling-back strategy. For example,
get_flask_sqlalchemy_lite(...)is a method returning the db extesnion offlask_sqlalchemy_lite.SQLAlchemy().- If
flask_sqlalchemy_liteis not installed butflask_sqlalchemyis installed, will return a db extension with a backend offlask_sqlalchemy.SQLAlchemy(). This wrapped extension will mimic the behaviors offlask_sqlalchemy_lite.SQLAlchemy(). - If both
flask_sqlalchemyandflask_sqlalchemy_liteare not installed, raise aModuleNotFoundError.
Functions
| Member | |
|---|---|
| get_flask_sqlalchemy_lite | Get the Flask SQLAlchemy Lite DB instance in the compatible mode. |
| get_flask_sqlalchemy_lite_proxy_ver | Proxy version of get_flask_sqlalchemy_lite. |
| get_flask_sqlalchemy | Get the Flask SQLAlchemy DB instance in the compatible mode. |
| get_flask_sqlalchemy_proxy_ver | Proxy version of get_flask_sqlalchemy. |