Return the QuerySet from raw SQL
(self, sql: str)
| 816 | return self._clone() |
| 817 | |
| 818 | def raw(self, sql: str) -> RawSQLQuery: |
| 819 | """ |
| 820 | Return the QuerySet from raw SQL |
| 821 | """ |
| 822 | return RawSQLQuery(model=self.model, db=self._db, sql=sql) |
| 823 | |
| 824 | def first(self) -> QuerySetSingle[MODEL | None]: |
| 825 | """ |
nothing calls this directly
no test coverage detected