count() 공개 메소드

Count documents in result without applying limit and offset
public count ( ) : integer
리턴 integer count
예제 #1
0
 public function getTotalRowsCount()
 {
     if ($this->totalRowsCount) {
         return $this->totalRowsCount;
     }
     $this->totalRowsCount = $this->cursor->count();
     return $this->totalRowsCount;
 }