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

Function _quote_literal

asyncpg/utils.py:15–16  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

13
14
15def _quote_literal(string):
16 return "'{}'".format(string.replace("'", "''"))
17
18
19async def _mogrify(conn, query, args):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…