MCPcopy
hub / github.com/django/django / as_mysql

Method as_mysql

django/db/models/expressions.py:1262–1265  ·  view source on GitHub ↗
(self, compiler, connection)

Source from the content-addressed store, hash-verified

1260 return "%s", (value,)
1261
1262 def as_mysql(self, compiler, connection):
1263 sql, params = self.as_sql(compiler, connection)
1264 sql = "JSON_EXTRACT(%s, '$')"
1265 return sql, params
1266
1267
1268class RawSQL(Expression):

Callers

nothing calls this directly

Calls 1

as_sqlMethod · 0.95

Tested by

no test coverage detected