MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/db/models/sql/subqueries.py:151–159  ·  view source on GitHub ↗
(
        self, *args, on_conflict=None, update_fields=None, unique_fields=None, **kwargs
    )

Source from the content-addressed store, hash-verified

149 compiler = "SQLInsertCompiler"
150
151 def __init__(
152 self, *args, on_conflict=None, update_fields=None, unique_fields=None, **kwargs
153 ):
154 super().__init__(*args, **kwargs)
155 self.fields = []
156 self.objs = []
157 self.on_conflict = on_conflict
158 self.update_fields = update_fields or []
159 self.unique_fields = unique_fields or []
160
161 def insert_values(self, fields, objs, raw=False):
162 self.fields = fields

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected