Updates current objects variables into the database. if you supply it with a dataObject, as an
argument, it will only update the differences between the new and old.
Parameter
DataObject $original -
if provided the update query will be built from the difference between the current and
original dataobject.
SELECT * FROM person WHERE id = 12
UPDATE person SET name='fred', age='21', eyes='blue' WHERE id = 12
SELECT * FROM person WHERE id = 12
UPDATE person SET name='fred' WHERE id = 12