skip to Main Content

Postgresql – Disabling cache in asyncpg

I want to disable cache in asyncpg+postgresql to get timely results from the database and not outdated ones. However, I encounter an issue that doesn't allow me to do so: RuntimeWarning: coroutine 'AsyncConnection.execution_options' was never awaited async with engine.connect().execution_options(compiled_cache=None) RuntimeWarning:…

VIEW QUESTION
Back To Top
Search