Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel: get id of inserted row

$data = User::create(['name'=>'first']);
dd($data->id);
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #id #inserted #row
ADD COMMENT
Topic
Name
2+4 =