Class: ActiveRecord::ConnectionAdapters::IBM_DBAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- ActiveRecord::ConnectionAdapters::IBM_DBAdapter
- Defined in:
- lib/database_cleaner/active_record/truncation.rb
Instance Method Summary collapse
Methods inherited from AbstractAdapter
Instance Method Details
#truncate_table(table_name) ⇒ Object
57 58 59 |
# File 'lib/database_cleaner/active_record/truncation.rb', line 57 def truncate_table(table_name) execute("TRUNCATE #{quote_table_name(table_name)} IMMEDIATE") end |