Django Book 翻译
菜单>:
TOC
返回
原文:
* If the objects primary key attribute is set to a value that evaluates to ``True`` (i.e., a value other than ``None`` or the empty string), Django executes a ``SELECT`` query to determine whether a record with the given primary key already exists.
翻译:
* 如果对象的主键属性被设置成相当于 ``True`` 的值(比如 ``None`` 或者空字符串之外的值),Django会执行一个 ``SELECT`` 查询来检测是否已存在一个相同主键的记录。
备注:
译者: