Kamis, 05 Juni 2014

Get Last Inserted ID using Laravel Eloquent

This is the code

$theId = DB::getPdo()->lastInsertId();