Exception: ActiveRecord::ConnectionAdapters::SavepointsNotSupported

Inherits:
NotImplementedError
  • Object
show all
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

Constructor Details

#initializeSavepointsNotSupported

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