改名
This commit is contained in:
@@ -307,8 +307,7 @@ class ActiveQuery extends Component implements ISqlBuilder
|
|||||||
*/
|
*/
|
||||||
public function exists(): bool
|
public function exists(): bool
|
||||||
{
|
{
|
||||||
var_dump($this->execute($this->builder->one())->fetchColumn());
|
return !empty($this->execute($this->builder->one())->fetchColumn());
|
||||||
return $this->execute($this->builder->one())->fetchColumn() !== false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user