|
@@ 195-197 (lines=3) @@
|
| 192 |
|
unset($this->persisted[$key]); |
| 193 |
|
|
| 194 |
|
$pk = []; |
| 195 |
|
foreach($this->space->getPrimaryIndex()->parts as $part) { |
| 196 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 197 |
|
} |
| 198 |
|
|
| 199 |
|
$this->space->getMapper()->getClient() |
| 200 |
|
->getSpace($this->space->getId()) |
|
@@ 246-248 (lines=3) @@
|
| 243 |
|
} |
| 244 |
|
|
| 245 |
|
$pk = []; |
| 246 |
|
foreach($this->space->getPrimaryIndex()->parts as $part) { |
| 247 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
$client->getSpace($this->space->getId())->update($pk, $operations); |
| 251 |
|
$this->original[$key] = $tuple; |