Commit c6db38ff by Alexander Makarov

phpdoc addition

parent 3409c766
...@@ -94,6 +94,10 @@ class ActiveQuery extends BaseActiveQuery implements \IteratorAggregate, \ArrayA ...@@ -94,6 +94,10 @@ class ActiveQuery extends BaseActiveQuery implements \IteratorAggregate, \ArrayA
return $this->createFinder()->find($this, true); return $this->createFinder()->find($this, true);
} }
/**
* Executes query and returns if matching row exists in the table.
* @return bool if row exists in the table.
*/
public function exists() public function exists()
{ {
return $this->select(array(new Expression('1')))->value() !== false; return $this->select(array(new Expression('1')))->value() !== false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment