Phalcon\Db\Adapter\MongoDB\InsertManyResult::getInsertedCount PHP Метод

getInsertedCount() публичный Метод

This method should only be called if the write was acknowledged.
См. также: InsertManyResult::isAcknowledged()
public getInsertedCount ( ) : integer
Результат integer
    public function getInsertedCount()
    {
        if ($this->isAcknowledged) {
            return $this->writeResult->getInsertedCount();
        }
        throw BadMethodCallException::unacknowledgedWriteResultAccess(__METHOD__);
    }