MCPcopy
hub / github.com/django/django / insert_statement

Method insert_statement

django/db/backends/mysql/operations.py:374–377  ·  view source on GitHub ↗
(self, on_conflict=None)

Source from the content-addressed store, hash-verified

372 return "REGEXP_LIKE(%%s, %%s, '%s')" % match_option
373
374 def insert_statement(self, on_conflict=None):
375 if on_conflict == OnConflict.IGNORE:
376 return "INSERT IGNORE INTO"
377 return super().insert_statement(on_conflict=on_conflict)
378
379 def lookup_cast(self, lookup_type, internal_type=None):
380 lookup = "%s"

Callers 1

as_sqlMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected