diff --git a/src/Database/Query/Modify.php b/src/Database/Query/Modify.php index f731461..5554409 100755 --- a/src/Database/Query/Modify.php +++ b/src/Database/Query/Modify.php @@ -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));