mirror of
https://github.com/django/django.git
synced 2025-03-25 16:50:45 +00:00
Doc'd that Count("*") is equivalent to COUNT(*) SQL.
This commit is contained in:
parent
7d0e566208
commit
23d24f82a7
@ -3898,6 +3898,7 @@ by the aggregate.
|
||||
.. class:: Count(expression, distinct=False, filter=None, **extra)
|
||||
|
||||
Returns the number of objects that are related through the provided
|
||||
expression. ``Count('*')`` is equivalent to the SQL ``COUNT(*)``
|
||||
expression.
|
||||
|
||||
* Default alias: ``<field>__count``
|
||||
|
Loading…
x
Reference in New Issue
Block a user