Method: ActiveRecord::ConnectionAdapters::AbstractAdapter#supports_ddl_transactions?
- Defined in:
- lib/active_record/connection_adapters/abstract_adapter.rb
#supports_ddl_transactions? ⇒ Boolean
Does this adapter support DDL rollbacks in transactions? That is, would CREATE TABLE or ALTER TABLE get rolled back by a transaction? PostgreSQL, SQL Server, and others support this. MySQL and others do not.
75 76 77 |
# File 'lib/active_record/connection_adapters/abstract_adapter.rb', line 75 def supports_ddl_transactions? false end |