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 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