Changeset 4938
- Timestamp:
- 04/05/07 21:27:18 (2 years ago)
- Files:
-
- django/trunk/django/db/backends/ado_mssql/base.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/db/backends/ado_mssql/base.py
r4937 r4938 139 139 return "DEFAULT" 140 140 141 def get_sql_flush(s ql_styler, full_table_list):141 def get_sql_flush(style, tables, sequences): 142 142 """Return a list of SQL statements required to remove all data from 143 143 all tables in the database (without actually removing the tables … … 148 148 # TODO - autoincrement indices reset required? See other get_sql_flush() implementations 149 149 sql_list = ['%s %s;' % \ 150 (s ql_styler.SQL_KEYWORD('TRUNCATE'),151 s ql_styler.SQL_FIELD(quote_name(table))152 ) for table in full_table_list]150 (style.SQL_KEYWORD('TRUNCATE'), 151 style.SQL_FIELD(quote_name(table)) 152 ) for table in tables] 153 153 154 154 def get_sql_sequence_reset(style, model_list):
