MCPcopy
hub / github.com/ormar-orm/ormar / min_

Function min_

benchmarks/test_benchmark_aggregate.py:41–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39async def test_min(aio_benchmark, num_models: int, authors_in_db: list[Author]):
40 @aio_benchmark
41 async def min_():
42 return await Author.objects.min("score")
43
44 m = min_()
45 assert 0 <= m <= 100

Callers 1

test_minFunction · 0.85

Calls 1

minMethod · 0.45

Tested by

no test coverage detected