Laravel - ignore unique constrain on bulk update

后端 未结 0 1409
南方客
南方客 2021-02-13 06:54

I have data:

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

that I want to reorder to look like:



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