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

Function test_offset_count

tests/test_queryset.py:81–82  ·  view source on GitHub ↗
(db, intfields_data)

Source from the content-addressed store, hash-verified

79
80@pytest.mark.asyncio
81async def test_offset_count(db, intfields_data):
82 assert await IntFields.all().offset(10).count() == 20
83
84
85@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

countMethod · 0.80
offsetMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…