@@ 410-412 (lines=3) @@ | ||
407 | ||
408 | $result = $this->collection->update($query, $update, $options); |
|
409 | ||
410 | if (($this->class->isVersioned || $this->class->isLockable) && ! $result['n']) { |
|
411 | throw LockException::lockFailed($document); |
|
412 | } |
|
413 | } |
|
414 | ||
415 | $this->handleCollections($document, $options); |
|
@@ 436-438 (lines=3) @@ | ||
433 | ||
434 | $result = $this->collection->remove($query, $options); |
|
435 | ||
436 | if (($this->class->isVersioned || $this->class->isLockable) && ! $result['n']) { |
|
437 | throw LockException::lockFailed($document); |
|
438 | } |
|
439 | } |
|
440 | ||
441 | /** |