I'm using Phalcon 3.4. When executing
save() on a model, why is an update forced even no data has changed? Assume a model
worker with existing data
$worker = ModelWorker::findFirstById(1);
// $worker->getName() returns 'Michael'
$worker->save([ 'name' => 'Michael' ]);
Why is an
UPDATE executed when
name doesn't have changed? Is there no internal check for changed data before issuing an operation on database?