9 months ago

Get id of newly created record

Posted 9 months ago by ludo1960

Hi folks,

If you create a new record so:

        $user = User::create($request->only('email', 'name', 'password')); //Retrieving only the email and password data

How to then grab hold of that record to add something to it?

Please sign in or create an account to participate in this conversation.