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);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire