Public Instance methods
insert_conflict(opts=OPTS)
Set the insert_conflict
options to pass to the dataset when inserting.
[show source]
# File lib/sequel/plugins/insert_conflict.rb 43 def insert_conflict(opts=OPTS) 44 raise Error, "Model#insert_conflict is only supported on new model instances" unless new? 45 @insert_conflict_opts = opts 46 self 47 end