MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / copy

Method copy

tests/test_copy.py:729–732  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

727 yield row
728
729 async def copy():
730 await con.copy_records_to_table(
731 'copytab',
732 records=async_records() if asynchronous else records())
733
734 async def run():
735 await con.execute('CREATE TEMP TABLE copytab (a bytea)')

Callers 4

test_record_cmpMethod · 0.80
startMethod · 0.80
_get_connection_specMethod · 0.80
startMethod · 0.80

Calls 1

copy_records_to_tableMethod · 0.45

Tested by

no test coverage detected