Exception: ActiveRecord::ConnectionAdapters::SavepointsNotSupported
- Inherits:
-
NotImplementedError
- Object
- NotImplementedError
- ActiveRecord::ConnectionAdapters::SavepointsNotSupported
- Defined in:
- lib/active_record/connection_adapters/duckdb_adapter.rb
Overview
Raised when attempting to use savepoints with DuckDB, which does not support them.
Instance Method Summary collapse
-
#initialize ⇒ SavepointsNotSupported
constructor
A new instance of SavepointsNotSupported.
Constructor Details
#initialize ⇒ SavepointsNotSupported
Returns a new instance of SavepointsNotSupported.
25 26 27 |
# File 'lib/active_record/connection_adapters/duckdb_adapter.rb', line 25 def initialize super('DuckDB does not support savepoints. Avoid using transaction(requires_new: true) or nested transactions that rely on savepoint isolation.') end |