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 51 def insert_conflict(opts=OPTS) 52 raise Error, "Model#insert_conflict is only supported on new model instances" unless new? 53 @insert_conflict_opts = opts 54 self 55 end