mardi 28 juin 2016

Last insert id in laravel and mongo db using query builder?

How i can get last insert id after insert a row in laravel and mongo db.my code for insert a row is,

$insertData         =   DB::collection('hotels')->insert($insertArray);



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

Aucun commentaire:

Enregistrer un commentaire