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

Function test_limit_count

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

Source from the content-addressed store, hash-verified

61
62@pytest.mark.asyncio
63async def test_limit_count(db, intfields_data):
64 assert await IntFields.all().limit(10).count() == 10
65
66
67@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

countMethod · 0.80
limitMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…