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

Function test_delete_limit

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

Source from the content-addressed store, hash-verified

466@requireCapability(support_update_limit_order_by=True)
467@pytest.mark.asyncio
468async def test_delete_limit(db, intfields_data):
469 await IntFields.all().limit(1).delete()
470 assert await IntFields.all().count() == 29
471
472
473@requireCapability(support_update_limit_order_by=True)

Callers

nothing calls this directly

Calls 4

countMethod · 0.80
deleteMethod · 0.45
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…