MAPG-125 switch off diff calculation in Modify for better performance
(not sure if needed - we probably won't log)
This commit is contained in:
parent
6d68f247e6
commit
466f065718
@ -116,11 +116,14 @@ class Modify
|
|||||||
|
|
||||||
private function update(): void
|
private function update(): void
|
||||||
{
|
{
|
||||||
$diff = $this->generateDiff();
|
/*$diff = $this->generateDiff();
|
||||||
|
|
||||||
if (count($diff) === 0) {
|
if (count($diff) === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
$diff = $this->attributes;
|
||||||
|
unset($diff[$this->idName]);
|
||||||
|
|
||||||
$set = $this->generateColumnsWithBinding(array_keys($diff));
|
$set = $this->generateColumnsWithBinding(array_keys($diff));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user