-
I'm developing a React application integrating the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Inserting and updating are two different operations and need to be done in 2 different statements. If this is a block operation where the second step depends on the first, this should be done inside a transaction, to ensure that if any statement fails, all will fail. This is how SQL works. |
Beta Was this translation helpful? Give feedback.
Inserting and updating are two different operations and need to be done in 2 different statements. If this is a block operation where the second step depends on the first, this should be done inside a transaction, to ensure that if any statement fails, all will fail. This is how SQL works.