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

Function test_all_values

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

Source from the content-addressed store, hash-verified

588
589@pytest.mark.asyncio
590async def test_all_values(db, intfields_data):
591 data = await IntFields.all().order_by("id").values()
592 assert data[2] == {"id": intfields_data[2].id, "intnum": 16, "intnum_null": None}
593
594
595@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

valuesMethod · 0.45
order_byMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…