jeudi 1 février 2018

How to get multiple auto incremented id in laravel database

I'm working on laravel database. inserting multiple data in key value array format . But I want an id of all inserted row

DB::table('table')->insert('array' =>'value');

How can i get multiple inserted id.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2DUFZrA
via IFTTT

Aucun commentaire:

Enregistrer un commentaire