Create a Insert… Select statement in Laravel

前端 未结 6 1183
迷失自我
迷失自我 2020-12-11 14:41

I\'m needing to convert this query for Laravel and I\'m having issues trying to create an Insert... Select statement using Laravel\'s Eloquont ORM, or Queries. I\'m not sure

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-11 15:15

    I used DB::statement(...);

    BD::statement(INSERT INTO table (SELECT));
    

提交回复
热议问题