src/SQL/Compiler.php
public function delete(SQLStatement $delete): string
    {
        $sql = 'DELETE ' . $this->handleTables($delete->getTables());
        $sql .= $sql === 'DELETE ' ? 'FROM ' : ' FROM ';
        $sql .= $this->handleTables($delete->getFrom());
        $sql .= $this->handleJoins($delete->getJoins());
        $sql .= $this->handleWheres($delete->getWheres());

        return $sql;
    }
public function delete(SQLStatement $delete): string
    {
        $sql = 'DELETE ' . $this->handleTables($delete->getTables());
        $sql .= $sql === 'DELETE ' ? 'FROM ' : ' FROM ';
        $sql .= $this->handleTables($delete->getFrom());
        $sql .= $this->handleJoins($delete->getJoins());
        $sql .= $this->handleWheres($delete->getWheres());

        return $sql;
    }
public function delete ( SQLStatement $ delete ) : string { $ sql = 'DELETE ' . $ this -> handleTables ( $ delete -> getTables ( ) ) ; $ sql .= $ sql === 'DELETE ' ? 'FROM ' : ' FROM ' ; $ sql .= $ this -> handleTables ( $ delete -> getFrom ( ) ) ; $ sql .= $ this -> handleJoins ( $ delete -> getJoins ( ) ) ; $ sql .= $ this -> handleWheres ( $ delete -> getWheres ( ) ) ; return $ sql ; }
Returns the SQL for a delete statement

@param SQLStatement $delete
@return string
Returns the SQL for a delete statement