updateField ( IcesDBObject  $object,
  $key 
)

Updates a single database field from a single row.

139  {
140  $id = $object->id;
141  $value = $object->{$key};
142  $this->deleteCache();
143  return db_update($this->table)->condition('id', $id)->fields(array($key => $value))->execute();
144  }
deleteCache()
Deletes whole static cache.
Definition: common.db.logic.inc:314