MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / test_earliest

Function test_earliest

tests/test_model_methods.py:308–311  ·  view source on GitHub ↗
(tournament_model)

Source from the content-addressed store, hash-verified

306
307@pytest.mark.asyncio
308async def test_earliest(tournament_model):
309 mdl = tournament_model
310 fetched_mdl = await Tournament.earliest("name")
311 assert mdl.id == fetched_mdl.id
312
313
314@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

earliestMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…