(self, raw_query, params=(), translations=None, using=None)
| 1482 | ################################################## |
| 1483 | |
| 1484 | def raw(self, raw_query, params=(), translations=None, using=None): |
| 1485 | if using is None: |
| 1486 | using = self.db |
| 1487 | qs = RawQuerySet( |
| 1488 | raw_query, |
| 1489 | model=self.model, |
| 1490 | params=params, |
| 1491 | translations=translations, |
| 1492 | using=using, |
| 1493 | fetch_mode=self._fetch_mode, |
| 1494 | ) |
| 1495 | qs._prefetch_related_lookups = self._prefetch_related_lookups[:] |
| 1496 | return qs |
| 1497 | |
| 1498 | def _values(self, *fields, **expressions): |
| 1499 | clone = self._chain() |
nothing calls this directly
no test coverage detected