Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel Difference between save, fill, create in laravel eloquent

$user = new User;
$user->name = "anything";
$user->save();
dd($user); // {'id': 1, 'name': 'anything'}
 
PREVIOUS NEXT
Tagged: #laravel #Difference #create #laravel #eloquent
ADD COMMENT
Topic
Name
8+3 =