Replies: 1 comment 2 replies
-
You don't need that where condition for what you're describing. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a piece of data that I'm not sure if it already exists in the database. I want to insert multiple rows of data. When the id is the same as postId, update other data such as createAt desc.
For the first time, my data is as follows:
I will have new data as follows
How should I write to get the row at the time of execution when inserting data in batches?
Thanks everyone!🙏
Beta Was this translation helpful? Give feedback.
All reactions