Phalcon\Db\Adapter\MongoDB\UpdateResult::getMatchedCount PHP 메소드

getMatchedCount() 공개 메소드

This method should only be called if the write was acknowledged.
또한 보기: UpdateResult::isAcknowledged()
public getMatchedCount ( ) : integer
리턴 integer
    public function getMatchedCount()
    {
        if ($this->isAcknowledged) {
            return $this->writeResult->getMatchedCount();
        }
        throw BadMethodCallException::unacknowledgedWriteResultAccess(__METHOD__);
    }