module Sequel::Plugins::InsertConflict::InstanceMethods
Public Instance Methods
insert_conflict(opts=OPTS)
click to toggle source
Set the insert_conflict
options to pass to the dataset when inserting.
# File lib/sequel/plugins/insert_conflict.rb 47 def insert_conflict(opts=OPTS) 48 raise Error, "Model#insert_conflict is only supported on new model instances" unless new? 49 @insert_conflict_opts = opts 50 self 51 end