Преглед изворни кода

Doc'd for_save argument of Expression.resolve_expression().

Matthew Schinckel пре 5 година
родитељ
комит
dba749917f
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      docs/ref/models/expressions.txt

+ 3 - 0
docs/ref/models/expressions.txt

@@ -944,6 +944,9 @@ calling the appropriate methods on the wrapped expression.
         ``summarize`` is a boolean that, when ``True``, signals that the
         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()
 
         Returns an ordered list of inner expressions. For example::