Hi,
How do you update all records (like 10 or more), after a find all for a user_id for example?
$robot = Robots::find("user_id=100");
$robot->active = 0;
$robot->save();
This one throws "Fatal error: Call to undefined method Phalcon\Mvc\Model\Resultset\Simple::save()".
On query, this is simple.
UPDATE robots set active = 0 where user_id=100;
Thanks