Laravel - ignore unique constrain on bulk update

后端 未结 0 639
北荒
北荒 2021-02-13 06:49

I have data:

[
  [
    id => 1,
    order => 1
  ],
  [
   id => 2,
   order => 2
  ]
]

that I want to reorder to look like:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题