Nextras\Orm\Collection\ICollection::countStored PHP 메소드

countStored() 공개 메소드

Counts collection entities without fetching them from storage.
public countStored ( ) : integer
리턴 integer
    public function countStored();

Usage Example

예제 #1
0
파일: Control.php 프로젝트: ytnuk/orm
 public function count() : int
 {
     return $this->collection->countStored() ?: parent::count();
 }