src/DeleteQuery.php
public function build()
    {
        if (!$this->table) {
            throw new \RuntimeException("No tables provided for FROM clause");
        }

        $sql = ['DELETE FROM'];
        $sql[] = $this->table;

        if ($this->conditions) {
            $sql[] = 'WHERE';
            $sql[] = $this->buildConditions($this->conditions);
        }

        $this->sql = implode(' ', $sql);

        $this->changed = false;
    }
public function build()
    {
        if (!$this->table) {
            throw new \RuntimeException("No tables provided for FROM clause");
        }

        $sql = ['DELETE FROM'];
        $sql[] = $this->table;

        if ($this->conditions) {
            $sql[] = 'WHERE';
            $sql[] = $this->buildConditions($this->conditions);
        }

        $this->sql = implode(' ', $sql);

        $this->changed = false;
    }
Build the query,