Flask-SQLAlchemy-Cache icon indicating copy to clipboard operation
Flask-SQLAlchemy-Cache copied to clipboard

A CachingQuery implementation to Flask using Flask-SQLAlchemy and Flask-Cache

Results 5 Flask-SQLAlchemy-Cache issues
Sort by recently updated
recently updated
newest added

Hi, Thanks a lot for this clever caching making good use of Flask caching, the `dogpile` caching documented in the SQLAlchemy docs is rather poor and hazy to understand. I...

Please see this issue: [Flask-Admin #1469](https://github.com/flask-admin/flask-admin/issues/1469) When using CachingQuery in the query_factory of QuerySelectMultipleField, recursion error results

It is difficult to create unit tests because SQLAlchemy maintain some objects in memory for performance reasons. I have to workaround this behaviour to write useful tests.

This is ugly. ``` Model.query_class == CachingQuery db = SQLAlchemy(session_options={'query_cls': CachingQuery}) ``` I want something like `db = SQLAlchemy(query_class=CachingQuery)`. I have to investigate Flask-SQLAlchemy.