MCPcopy
hub / github.com/django/django / annotate

Method annotate

django/db/models/query.py:1813–1819  ·  view source on GitHub ↗

Return a query set in which the returned objects have been annotated with extra data or aggregations.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1811 return clone
1812
1813 def annotate(self, *args, **kwargs):
1814 """
1815 Return a query set in which the returned objects have been annotated
1816 with extra data or aggregations.
1817 """
1818 self._not_support_combined_queries("annotate")
1819 return self._annotate(args, kwargs, select=True)
1820
1821 def alias(self, *args, **kwargs):
1822 """

Calls 2

_annotateMethod · 0.95