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

Class Count

tortoise/functions.py:87–94  ·  view source on GitHub ↗

Counts the no of entries for that column. :samp:`Count("{FIELD_NAME}")`

Source from the content-addressed store, hash-verified

85
86
87class Count(Aggregate):
88 """
89 Counts the no of entries for that column.
90
91 :samp:`Count("{FIELD_NAME}")`
92 """
93
94 database_func = functions.Count
95
96
97class Sum(Aggregate):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…