|
@@ 335-337 (lines=3) @@
|
| 332 |
|
unset($this->persisted[$key]); |
| 333 |
|
|
| 334 |
|
$pk = []; |
| 335 |
|
foreach ($this->space->getPrimaryIndex()['parts'] as $part) { |
| 336 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 337 |
|
} |
| 338 |
|
|
| 339 |
|
foreach ($this->getMapper()->getPlugins() as $plugin) { |
| 340 |
|
$plugin->beforeRemove($instance, $this->space); |
|
@@ 413-415 (lines=3) @@
|
| 410 |
|
} |
| 411 |
|
|
| 412 |
|
$pk = []; |
| 413 |
|
foreach ($this->space->getPrimaryIndex()['parts'] as $part) { |
| 414 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 415 |
|
} |
| 416 |
|
|
| 417 |
|
$client->getSpace($this->space->getId())->update($pk, $operations); |
| 418 |
|
$this->original[$key] = $tuple; |