db['username']=$c->db['user']; $v->zend_db=Zend_Db::factory('PDO_PGSQL',$c->db); $sourceid=4;//hiwater $v->update_by_source($sourceid); $uuid='d6584b27-1e02-4bc7-90d1-8b360d9c69ab'; // for test //$v->update_by_uuid($uuid); $v->error();