瀏覽代碼

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::