I want to cache sqlalchemy,i have discovered that using keyword SQL_CACHE in mysql can be helpful in caching queries on demand.
But how do i do it in sqlalchemy ?
Is it possible ?
Mysql – How to cache queries in sqlalchethe just like I do it in thesql by using SQL_CACHE keyword
cacheMySQLquery-cache
Related Question
- MySQL Query Cache – How to Decide Whether to Enable Using InnoDB on Amazon RDS
- MySQL Query Cache – Can Queries with Deterministic User Defined Functions Be Cached?
- MySQL Table Cache – Can a Table Get Stuck?
- PostgreSQL Cache Misses – How to Identify Queries Causing Them
- MySQL Cache – Ensuring Queries Stay in Cache Priority
- MySQL – How to Control What to Cache
Best Answer
You need use a prefix_with. For example, this:
would render: