How to get last insert id in laravel

QuestionsCategory: LaravelHow to get last insert id in laravel
Anuj Kumar asked 2 years ago

After save, $data->id should be the last id inserted.

return Response::json(array('success' => true, 'last_id' => $data->id), 200);

zuxwvexsbb replied 11 months ago

Muchas gracias. ?Como puedo iniciar sesion?

Your Answer

Related Posts

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top