@@ 425-427 (lines=3) @@ | ||
422 | ||
423 | $result = $this->collection->update($query, $update, $options); |
|
424 | ||
425 | if (($this->class->isVersioned || $this->class->isLockable) && ! $result['n']) { |
|
426 | throw LockException::lockFailed($document); |
|
427 | } |
|
428 | } |
|
429 | ||
430 | $this->handleCollections($document, $options); |
|
@@ 452-454 (lines=3) @@ | ||
449 | ||
450 | $result = $this->collection->remove($query, $options); |
|
451 | ||
452 | if (($this->class->isVersioned || $this->class->isLockable) && ! $result['n']) { |
|
453 | throw LockException::lockFailed($document); |
|
454 | } |
|
455 | } |
|
456 | ||
457 | /** |