Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ fetchval
Method
fetchval
tests/test_pool.py:556–558 ·
view source on GitHub ↗
(self, query)
Source
from the content-addressed store, hash-verified
554
return
42
555
556
async
def
fetchval(self, query):
557
res = await super().fetchval(query)
558
return
res + 1
559
560
async
def
test(pool):
561
async
with
pool.acquire()
as
con:
Callers
15
test_standard_codecs
Method · 0.45
test_oid8
Method · 0.45
test_regdatabase
Method · 0.45
test_void
Method · 0.45
test_interval
Method · 0.45
test_numeric
Method · 0.45
test_invalid_input
Method · 0.45
test_arrays
Method · 0.45
test_composites
Method · 0.45
test_domains
Method · 0.45
test_range_types
Method · 0.45
test_multirange_types
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected