Is there something similar to save for the update task?
If I want to save a new record I just do it:
$data_from_post = $_POST;
$newUser = $usersDb->fetchNew();
$newUser->setFromArray($data_from_post);
$newUser->save();
Is there something for the update task?
Thanks and best regard´s.
Assuming you have a id field in your post array. Basically update takes two params. The update array and a where clause.
see Updating Rows in a Table in here