Mass insert - ON DUPLICATE KEY UPDATE #536
Unanswered
mareksloser
asked this question in
Q&A
Replies: 1 comment
-
|
This basically is not much feasible using Orm. If the amount is huge, the best would be do this manually with Nextras\Dbal. What do you think about this approach? |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hello,
at first i would like thank you for this ORM.
Could you help me solve my problem? I would like avoid duplicate value in DB. I have M:M relationship. Could help me how i can avoid hudge query number for check if value exist in db? I found "ON DUPLICATE KEY UPDATE" but i dont if i can use in this ORM.
Thank you
"nextras/orm": "^4.0",
Beta Was this translation helpful? Give feedback.
All reactions