MCPcopy
hub / github.com/tortoise/tortoise-orm / get_queryset

Method get_queryset

tortoise/manager.py:18–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 self._model = model
17
18 def get_queryset(self) -> QuerySet:
19 return QuerySet(self._model)
20
21 def __getattr__(self, item: str) -> Any:
22 return getattr(self.get_queryset(), item)

Callers 7

__getattr__Method · 0.95
_db_querysetMethod · 0.45
filterMethod · 0.45
latestMethod · 0.45
earliestMethod · 0.45
excludeMethod · 0.45
annotateMethod · 0.45

Calls 1

QuerySetClass · 0.90

Tested by

no test coverage detected