public function getDeleteQuery()
    {
        $sql = 'DELETE FROM ' . $this->getTable();
        if ($this->where) {
            $sql .= "\nWHERE " . $this->getWhere();
        }
        if ($this->limit) {
            $sql .= "\nLIMIT " . $this->getLimit();
        }

        return $sql;
    }
public function getDeleteQuery()
    {
        $sql = 'DELETE FROM ' . $this->getTable();
        if ($this->where) {
            $sql .= "\nWHERE " . $this->getWhere();
        }
        if ($this->limit) {
            $sql .= "\nLIMIT " . $this->getLimit();
        }

        return $sql;
    }
public function getDeleteQuery ( ) { $ sql = 'DELETE FROM ' . $ this -> getTable ( ) ; if ( $ this -> where ) { $ sql .= "\nWHERE " . $ this -> getWhere ( ) ; } if ( $ this -> limit ) { $ sql .= "\nLIMIT " . $ this -> getLimit ( ) ; } return $ sql ; }
Get SQL delete query

@return string
Get SQL delete query