MCPcopy
hub / github.com/django/django / mogrify

Function mogrify

django/db/backends/postgresql/psycopg_any.py:23–25  ·  view source on GitHub ↗
(sql, params, connection)

Source from the content-addressed store, hash-verified

21 )
22
23 def mogrify(sql, params, connection):
24 with connection.cursor() as cursor:
25 return ClientCursor(cursor.connection).mogrify(sql, params)
26
27 # Adapters.
28 class BaseTzLoader(adapt.Loader):

Callers 1

compose_sqlMethod · 0.90

Calls 2

cursorMethod · 0.80
decodeMethod · 0.45

Tested by

no test coverage detected