Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/MagicStack/asyncpg
/ has
Method
has
asyncpg/connection.py:2555–2556 ·
view source on GitHub ↗
(self, query)
Source
from the content-addressed store, hash-verified
2553
return
entry._statement
2554
2555
def
has(self, query):
2556
return
self.get(query, promote=False) is not None
2557
2558
def
put(self, query, statement):
2559
if
not self._max_size:
Callers
1
_maybe_gc_stmt
Method · 0.80
Calls
1
get
Method · 0.95
Tested by
no test coverage detected