How to insert multiple row with different ID in Laravel

前端 未结 0 2041
情深已故
情深已故 2021-02-13 23:25

I need a way to insert multiple rows into sql table, and return all inserted different primary key ids with one sql query.

foreach($request->size as $key =>         


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