Class: Ductr::SequelBase::Adapter

Inherits:
Adapter
  • Object
show all
Defined in:
lib/ductr/sequel_base/adapter.rb

Overview

The base class of all sequel-based adapters.

Instance Attribute Summary collapse

Attributes inherited from Adapter

#config, #name

Method Summary

Methods inherited from Adapter

#close!, destination_registry, #initialize, lookup_registry, #open, #open!, source_registry, trigger_registry

Constructor Details

This class inherits a constructor from Ductr::Adapter

Instance Attribute Details

#dbSequel::Database? (readonly)

Returns The database connection instance.

Returns:

  • (Sequel::Database, nil)

    The database connection instance



10
11
12
# File 'lib/ductr/sequel_base/adapter.rb', line 10

def db
  @db
end