Top Level Namespace

Defined Under Namespace

Modules: ActiveRecord, Activerecord

Instance Method Summary collapse

Instance Method Details

#duckdbvoid

This method returns an undefined value.

Register the DuckDB adapter with ActiveRecord This works for both Rails and non-Rails environments



13
14
15
16
17
# File 'lib/activerecord-duckdb.rb', line 13

ActiveRecord::ConnectionAdapters.register(
  'duckdb',
  'ActiveRecord::ConnectionAdapters::DuckdbAdapter',
  'active_record/connection_adapters/duckdb_adapter'
)