public function setMetadataValue(
        string $name,
        $value
    ): self {
        $this->metadata[$name] = $value;

        return $this;
    }
public function setMetadataValue(
        string $name,
        $value
    ): self {
        $this->metadata[$name] = $value;

        return $this;
    }
public function setMetadataValue ( string $ name , $ value ) : self { $ this -> metadata [ $ name ] = $ value ; return $ this ; }
Set metadata.

@param string $name
@param mixed  $value

@return Query
Set metadata .