|
@@ 339-341 (lines=3) @@
|
| 336 |
|
unset($this->persisted[$key]); |
| 337 |
|
|
| 338 |
|
$pk = []; |
| 339 |
|
foreach ($this->space->getPrimaryIndex()['parts'] as $part) { |
| 340 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 341 |
|
} |
| 342 |
|
|
| 343 |
|
foreach ($this->getMapper()->getPlugins() as $plugin) { |
| 344 |
|
$plugin->beforeRemove($instance, $this->space); |
|
@@ 417-419 (lines=3) @@
|
| 414 |
|
} |
| 415 |
|
|
| 416 |
|
$pk = []; |
| 417 |
|
foreach ($this->space->getPrimaryIndex()['parts'] as $part) { |
| 418 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 419 |
|
} |
| 420 |
|
|
| 421 |
|
$client->getSpace($this->space->getId())->update($pk, $operations); |
| 422 |
|
$this->original[$key] = $tuple; |