api/MarkLogic/MLPHP/Options.php
public function delete($name)
    {
        $name = $name ? $name : $this->name;
        try {
            $request = new RESTRequest('DELETE', 'config/query/' . $name);
            $this->response = $response = $this->client->send($request);
            return $this;
        } catch(Exception $e) {
            echo $e->getMessage() . ' in ' . $e->getFile() . ' on line ' . $e->getLine() . PHP_EOL;
        }
    }
public function delete($name)
    {
        $name = $name ? $name : $this->name;
        try {
            $request = new RESTRequest('DELETE', 'config/query/' . $name);
            $this->response = $response = $this->client->send($request);
            return $this;
        } catch(Exception $e) {
            echo $e->getMessage() . ' in ' . $e->getFile() . ' on line ' . $e->getLine() . PHP_EOL;
        }
    }
Delete the query options from the database.

@param string $name The query options name.
@return Options $this