flask_restful_dbbase.DBBase.create_engine¶
- DBBase.create_engine(sa_url, engine_opts)¶
Override this method to have final say over how the SQLAlchemy engine is created.
In most cases, you will want to use
'SQLALCHEMY_ENGINE_OPTIONS'
config variable or setengine_options
forSQLAlchemy()
.