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

Class Min

tortoise/functions.py:119–127  ·  view source on GitHub ↗

Returns smallest value in the column. :samp:`Min("{FIELD_NAME}")`

Source from the content-addressed store, hash-verified

117
118
119class Min(Aggregate):
120 """
121 Returns smallest value in the column.
122
123 :samp:`Min("{FIELD_NAME}")`
124 """
125
126 database_func = functions.Min
127 populate_field_object = True
128
129
130class Avg(Aggregate):

Callers 2

test_aggregationFunction · 0.90
runFunction · 0.90

Calls

no outgoing calls

Tested by 1

test_aggregationFunction · 0.72