I have tables A and B and A_has_B where have this fields:
A: id, name
B: id, name
A_has_B: a_id, b_id, background
Previously when I had not ‘background’ field in A_has_B, I did update by delete all record in A_has_B and reinsert updated records.
but now how can I update A_has_B whitout deleteing records that should reinsert?
Off the top of my head, I would think something like….
(and similar for table ‘a’)
or