public function update($hashValue = null, $rangeValue = null)
    {
        $this->setQueryClass(UpdateItem::class);

        if ($hashValue !== null) {
            $this->setPrimaryKey($hashValue, $rangeValue);
        }

        return $this;
    }
public function update($hashValue = null, $rangeValue = null)
    {
        $this->setQueryClass(UpdateItem::class);

        if ($hashValue !== null) {
            $this->setPrimaryKey($hashValue, $rangeValue);
        }

        return $this;
    }
public function update ( $ hashValue = null , $ rangeValue = null ) { $ this -> setQueryClass ( UpdateItem :: class ) ; if ( $ hashValue !== null ) { $ this -> setPrimaryKey ( $ hashValue , $ rangeValue ) ; } return $ this ; }
Sets the query operation to 'update' and optionally specifies the primary key.

@param mixed|null $hashValue
@param mixed|null $rangeValue

@return $this
Sets the query operation to update and optionally specifies the primary key .