public function update(array $data, array $where)
    {
        if (!$where) {
            die ('Where is required');
        }

        if (!$data) {
            die ('Data is required');
        }

        return $this->_update($data, $where);
    }
public function update(array $data, array $where)
    {
        if (!$where) {
            die ('Where is required');
        }

        if (!$data) {
            die ('Data is required');
        }

        return $this->_update($data, $where);
    }
public function update ( array $ data , array $ where ) { if ( ! $ where ) { die ( 'Where is required' ) ; } if ( ! $ data ) { die ( 'Data is required' ) ; } return $ this -> _update ( $ data , $ where ) ; }
Update a row or rowset

@param array $data Data array
@param array $where Where conditions array
@return bool
Update a row or rowset