public function delete(string $variable, bool $detach = false): self
    {
        $query = new self;
        $query->clauses = $this->clauses->add(
            new Clause\DeleteClause($variable, $detach)
        );

        return $query;
    }
public function delete(string $variable, bool $detach = false): self
    {
        $query = new self;
        $query->clauses = $this->clauses->add(
            new Clause\DeleteClause($variable, $detach)
        );

        return $query;
    }
public function delete ( string $ variable , bool $ detach = false ) : self { $ query = new self ; $ query -> clauses = $ this -> clauses -> add ( new Clause \ DeleteClause ( $ variable , $ detach ) ) ; return $ query ; }
Add a DELETE clause

@param string $variable
@param bool $detach

@return self
Add a DELETE clause