Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel get last id

DB::table('myTable')->orderBy('id','desc')->first();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #id
ADD COMMENT
Topic
Name
5+9 =