Closed scgkiran closed 2 weeks ago
Discussed this some on sync call today. I think there are two different patterns we should support. The current one is good if you assume implicit row ids (a physical concept).
I suggest we introduce a separate relation which maps more logically to sql.
I'm going to close this PR as probably not the optimal changes.
It's probably worth looking at the SQL that this is supposed to enable.
table_name
and the WHERE clause specify what is to be changed (along with the actual values.The existing behavior is a complete replacement. (Essentially delete all existing rows and add this input.). We should strive to only update the rows that are changing if possible.