#NEWLINE# def sql_flush( self , style , tables , sequences ) : #NEWLINE# #INDENT# if tables : #NEWLINE# #INDENT# sql = [ ( '%s %s %s;' % ( style . SQL_KEYWORD ( 'DELETE' ) , style . SQL_KEYWORD ( 'FROM' ) , style . SQL_FIELD ( self . quote_name ( table ) ) ) ) for table in tables ] #NEWLINE# sql . extend ( self . sequence_reset_by_name_sql ( style , sequences ) ) #NEWLINE# return sql #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return [ ]