I'm not sure if this is a bug or not.
I have 2 tables A and B.
In table B, there is a FK to refer to A.
I used INNER JOIN to get data from A just for displayed as an additional information.
When I updated a record in B, a record in A that joined to the record in B is duplicated and insert in to A.
Both rows are identical except their id.
This is a bug or I missed something?
Any answer would be appreciated.
I have 2 tables A and B.
In table B, there is a FK to refer to A.
I used INNER JOIN to get data from A just for displayed as an additional information.
When I updated a record in B, a record in A that joined to the record in B is duplicated and insert in to A.
Both rows are identical except their id.
This is a bug or I missed something?
Any answer would be appreciated.