Hi All,
I have a general question regarding the expected behaviour regarding Phalcon\Mvc\Model\Resultset.
I have a collection of models and I'm updating them like so:
$robots = Robots::find([
    'conditions' => 'category = "toy"',
]);
$result = $robots->update([
    'category' => 'industrial',
]);My issue is that it appears that regardless of whether the update to the model is succesful, $result is always true.
looking at the source code for Resultset it seems that the update method will always return true even if the transaction failed.
This means that I can't check if my update succeeded using the usual pattern:
if ($result === false) {
   // handle errors
   foreach($robots->getMessages() as $message) {
       echo $message;
   }
}Is this behaviour intended? If so, what would be the recommended way to check for errrors here?