1
0
mirror of https://github.com/django/django.git synced 2025-08-27 20:29:27 +00:00

[2.2.x] Doc'd for_save argument of Expression.resolve_expression().

Backport of dba749917f73ce517448a42fed38dd61382e92a7 from master
This commit is contained in:
Matthew Schinckel 2019-08-27 16:49:49 +02:00 committed by Mariusz Felisiak
parent 56f7a62d28
commit 6c17b86590

View File

@ -946,6 +946,9 @@ calling the appropriate methods on the wrapped expression.
``summarize`` is a boolean that, when ``True``, signals that the ``summarize`` is a boolean that, when ``True``, signals that the
query being computed is a terminal aggregate query. query being computed is a terminal aggregate query.
``for_save`` is a boolean that, when ``True``, signals that the query
being executed is performing a create or update.
.. method:: get_source_expressions() .. method:: get_source_expressions()
Returns an ordered list of inner expressions. For example:: Returns an ordered list of inner expressions. For example::