@@ 420-422 (lines=3) @@ | ||
417 | ||
418 | $result = $this->collection->update($query, $update, $options); |
|
419 | ||
420 | if (($this->class->isVersioned || $this->class->isLockable) && ! $result['n']) { |
|
421 | throw LockException::lockFailed($document); |
|
422 | } |
|
423 | } |
|
424 | ||
425 | $this->handleCollections($document, $options); |
|
@@ 445-447 (lines=3) @@ | ||
442 | ||
443 | $result = $this->collection->remove($query, $options); |
|
444 | ||
445 | if (($this->class->isVersioned || $this->class->isLockable) && ! $result['n']) { |
|
446 | throw LockException::lockFailed($document); |
|
447 | } |
|
448 | } |
|
449 | ||
450 | /** |