Method
__init__
(
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
Tested by
no test coverage detected