public function updateByPK($pk, $values){
        $pkConditions = $this->buildPKConditions($this->pk, $pk);
        return $this->update($values, $pkConditions[0], $pkConditions[1]);
    }
public function updateByPK($pk, $values){
        $pkConditions = $this->buildPKConditions($this->pk, $pk);
        return $this->update($values, $pkConditions[0], $pkConditions[1]);
    }
public function updateByPK ( $ pk , $ values ) { $ pkConditions = $ this -> buildPKConditions ( $ this -> pk , $ pk ) ; return $ this -> update ( $ values , $ pkConditions [ 0 ] , $ pkConditions [ 1 ] ) ; }
Update table by primary key
@param string|array $pk
@param array $values
@return int|boolean
Update table by primary key