MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / offset

Method offset

tortoise/fields/relational.py:116–120  ·  view source on GitHub ↗

Returns a QuerySet with all related elements offset by «offset».

(self, offset: int)

Source from the content-addressed store, hash-verified

114 return self._query.limit(limit)
115
116 def offset(self, offset: int) -> QuerySet[MODEL]:
117 """
118 Returns a QuerySet with all related elements offset by «offset».
119 """
120 return self._query.offset(offset)
121
122 async def create(self, using_db: BaseDBAsyncClient | None = None, **kwargs: Any) -> MODEL:
123 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected