Neos\Flow\Persistence\Generic\Backend\BackendInterface::getObjectCountByQuery PHP Method

getObjectCountByQuery() public method

Returns the number of items matching the query.
public getObjectCountByQuery ( Neos\Flow\Persistence\QueryInterface $query ) : integer
$query Neos\Flow\Persistence\QueryInterface
return integer
    public function getObjectCountByQuery(QueryInterface $query);

Usage Example

コード例 #1
0
ファイル: PersistenceManager.php プロジェクト: neos/flow
 /**
  * Returns the number of records matching the query.
  *
  * @param QueryInterface $query
  * @return integer
  * @api
  */
 public function getObjectCountByQuery(QueryInterface $query)
 {
     return $this->backend->getObjectCountByQuery($query);
 }