How to get last insert id in laravel

QuestionsCategory: LaravelHow to get last insert id in laravel
Anuj Kumar asked 1 year ago

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

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

zuxwvexsbb replied 6 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