Class: Sequel::Database
Class Method Summary
collapse
included, #migration_schema_for_table
Class Method Details
.adapter_class(scheme) ⇒ Object
6
7
8
9
10
11
12
13
14
15
|
# File 'lib/sequel/schema-sharding/extensions/sequel_ext.rb', line 6
def adapter_class(scheme)
klass = sequel_adapter_class(scheme)
begin
require "sequel/schema-sharding/extensions/#{scheme}/dataset"
rescue LoadError => e
end
klass
end
|
.sequel_adapter_class ⇒ Object
4
|
# File 'lib/sequel/schema-sharding/extensions/sequel_ext.rb', line 4
alias_method :sequel_adapter_class, :adapter_class
|