LMongo\Query\Builder::performUpdate PHP Method

performUpdate() protected method

Perform update.
protected performUpdate ( array $query ) : integer
$query array
return integer
    protected function performUpdate(array $query)
    {
        $result = $this->connection->{$this->collection}->update($this->compileWheres($this), $query, array('multiple' => true));
        if (1 == (int) $result['ok']) {
            return $result['n'];
        }
        return 0;
    }
Builder