3 ms·
Why doesn't ON CONFLICT(column_name) accept multiple arguments, i.e., multiple columns One stupid workaround is combining multiple columns into one, with value
by 1vuio0pswjnm7 1y ago
Why doesn't ON CONFLICT(column_name) accept multiple arguments, i.e., multiple columns
One stupid workaround is combining multiple columns into one, with values separated by a space, for example. This works when each column value is always a string containing no spaces
Another stupid workaround, probably slower, might be to hash the multiple columns into a new column and use ON CONFLICT(newcolumn_name)