Phalcon\Db\Adapter\MongoDB\UpdateResult::getModifiedCount PHP Méthode

getModifiedCount() public méthode

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.
See also: UpdateResult::isAcknowledged()
public getModifiedCount ( ) : integer | null
Résultat integer | null
    public function getModifiedCount()
    {
        if ($this->isAcknowledged) {
            return $this->writeResult->getModifiedCount();
        }
        throw BadMethodCallException::unacknowledgedWriteResultAccess(__METHOD__);
    }