Module: Sequel::Plugins::InsertIgnore

Defined in:
lib/sequel/plugins/insert_ignore.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(model, opts = OPTS) ⇒ Object



12
13
14
15
16
# File 'lib/sequel/plugins/insert_ignore.rb', line 12

def self.configure(model, opts=OPTS)
  model.instance_exec do
    @insert_ignore_plugin_identifying_columns = opts.fetch(:identifying_columns)
  end
end