I am running a very simple ->save on a table. I am passing in an array of the field=>values that I would like to update.
$stream_scene_app = new StreamSceneApps(); $temp = $stream_scene_app->save($vars);
The $vars variable contains only (2) fields (id=>3, status=>"on"). However after the save all the fields with exception of the (2) that are passed in are set to NULL. The status field updates properly for the correct record. How do I get Phalcon to not overwrite fields on a save when they are not passed in? I obviously do not want to pass in every field on an update when I just want to update a single field.
I have looked all over and cannot find an answer to this question. There must be something obvious that I am missing.