@@ 401-403 (lines=3) @@ | ||
398 | ||
399 | $result = $this->collection->update($query, $update, $options); |
|
400 | ||
401 | if (($this->class->isVersioned || $this->class->isLockable) && ! $result['n']) { |
|
402 | throw LockException::lockFailed($document); |
|
403 | } |
|
404 | } |
|
405 | ||
406 | $this->handleCollections($document, $options); |
|
@@ 427-429 (lines=3) @@ | ||
424 | ||
425 | $result = $this->collection->remove($query, $options); |
|
426 | ||
427 | if (($this->class->isVersioned || $this->class->isLockable) && ! $result['n']) { |
|
428 | throw LockException::lockFailed($document); |
|
429 | } |
|
430 | } |
|
431 | ||
432 | /** |