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