修正Query类的useSoftDelete方法返回值

This commit is contained in:
thinkphp
2017-05-11 14:23:09 +08:00
parent a9d5851672
commit c0763644f3

View File

@@ -1134,6 +1134,7 @@ class Query
if ($field) { if ($field) {
$this->options['soft_delete'] = [$field, $condition ?: ['null', '']]; $this->options['soft_delete'] = [$field, $condition ?: ['null', '']];
} }
return $this;
} }
/** /**