protected function translateDelete()
    {
        $build = 'delete from ' . $this->escapeTable(false);

        // build the where statements
        if ($wheres = $this->attr('wheres'))
        {
            $build .= $this->translateWhere($wheres);
        }
    
        // build offset and limit
        if ($this->attr('limit'))
        {
             $build .= $this->translateLimit();
        }

        return $build;
    }
protected function translateDelete()
    {
        $build = 'delete from ' . $this->escapeTable(false);

        // build the where statements
        if ($wheres = $this->attr('wheres'))
        {
            $build .= $this->translateWhere($wheres);
        }
    
        // build offset and limit
        if ($this->attr('limit'))
        {
             $build .= $this->translateLimit();
        }

        return $build;
    }
protected function translateDelete ( ) { $ build = 'delete from ' . $ this -> escapeTable ( false ) ; // build the where statements if ( $ wheres = $ this -> attr ( 'wheres' ) ) { $ build .= $ this -> translateWhere ( $ wheres ) ; } // build offset and limit if ( $ this -> attr ( 'limit' ) ) { $ build .= $ this -> translateLimit ( ) ; } return $ build ; }
Translate the current query to an SQL delete statement

@return string
Translate the current query to an SQL delete statement