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:
bence committed 2020-06-14 02:06:27 +02:00
1 parent 6d68f247e6
commit 466f065718
1 file changed
+5 -2
+5 -2
View File
@@ -116,11 +116,14 @@ class Modify
private function update(): void
{
$diff = $this->generateDiff();
/*$diff = $this->generateDiff();
if (count($diff) === 0) {
return;
}
}*/
$diff = $this->attributes;
unset($diff[$this->idName]);
$set = $this->generateColumnsWithBinding(array_keys($diff));