MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / _drop_statement_cache

Method _drop_statement_cache

asyncpg/pool.py:1020–1024  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1018 raise exceptions.InterfaceError('pool is closed')
1019
1020 def _drop_statement_cache(self):
1021 # Drop statement cache for all connections in the pool.
1022 for ch in self._holders:
1023 if ch._con is not None:
1024 ch._con._drop_local_statement_cache()
1025
1026 def _drop_type_cache(self):
1027 # Drop type codec cache for all connections in the pool.

Callers 1

Calls 1

Tested by

no test coverage detected