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

getModifiedCount() 공개 메소드

This value is undefined (i.e. null) if the write executed as a legacy operation instead of command. This method should only be called if the write was acknowledged.
또한 보기: UpdateResult::isAcknowledged()
public getModifiedCount ( ) : integer | null
리턴 integer | null
    public function getModifiedCount()
    {
        if ($this->isAcknowledged) {
            return $this->writeResult->getModifiedCount();
        }
        throw BadMethodCallException::unacknowledgedWriteResultAccess(__METHOD__);
    }