You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of update_duplicates is such that it updates all columns if there is a conflict during the insert phase. This is not always desirable. A classic case is the created_at.
If an insert fails, and we want the update to happen instead we would typically want created_at to keep its existing value. An option to control this behaviour would be great.
The text was updated successfully, but these errors were encountered:
The current implementation of
update_duplicates
is such that it updates all columns if there is a conflict during the insert phase. This is not always desirable. A classic case is thecreated_at
.If an insert fails, and we want the update to happen instead we would typically want
created_at
to keep its existing value. An option to control this behaviour would be great.The text was updated successfully, but these errors were encountered: