MCPcopy
hub / github.com/psycopg/psycopg / dump

Method dump

tests/test_adapt.py:469–470  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

467 1 / 0
468
469 def dump(self, obj):
470 return obj.encode()
471
472 cur = conn.cursor()
473 cur.adapters.register_dumper(str, BadDumper)

Callers 6

mainFunction · 0.45
test_dumpFunction · 0.45
test_list_dumperFunction · 0.45
dumpMethod · 0.45
dumpMethod · 0.45
_get_type_nameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected