deleteme/database.py
def clear(self):
        '''
        Purge the database removing all records from the tables. However,
        it keeps the database schema (meaning the table structure)

        '''
        #THIS KEEPS THE SCHEMA AND REMOVE VALUES
        con = sqlite3.connect(self.db_path)
        #Activate foreing keys support
        cur = con.cursor()
        with con:
            cur = con.cursor()
            cur.execute("DELETE FROM websites")

        Purge the database removing all records from the tables. However,
        it keeps the database schema (meaning the table structure)

        
Purge the database removing all records from the tables. However,
it keeps the database schema (meaning the table structure)
Purge the database removing all records from the tables . However it keeps the database schema ( meaning the table structure )
def clear(self):
        con = sqlite3.connect(self.db_path)
        cur = con.cursor()
        with con:
            cur = con.cursor()
            cur.execute("DELETE FROM websites")
def clear ( self ) : con = sqlite3 . connect ( self . db_path ) cur = con . cursor ( ) with con : cur = con . cursor ( ) cur . execute ( "DELETE FROM websites" )
Purge the database removing all records from the tables.
Purge the database removing all records from the tables .
'''
        Purge the database removing all records from the tables. However,
        it keeps the database schema (meaning the table structure)

        ''' #THIS KEEPS THE SCHEMA AND REMOVE VALUES #Activate foreing keys support
self