Class: ActiveRecord::ConnectionAdapters::SQLServerAdapter
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::SQLServerAdapter
- Defined in:
- lib/database_cleaner/active_record/truncation.rb
Instance Method Summary collapse
Instance Method Details
#can_truncate_multiple? ⇒ Boolean
44 45 46 |
# File 'lib/database_cleaner/active_record/truncation.rb', line 44 def can_truncate_multiple? false end |
#truncate_table(table_name) ⇒ Object
47 48 49 |
# File 'lib/database_cleaner/active_record/truncation.rb', line 47 def truncate_table(table_name) execute("TRUNCATE TABLE #{quote_table_name(table_name)};") end |