We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
I am looking for something like :
DB::table('users')->getNextGeneratedId();
not
$user->save($data) $getNextGeneratedId = $user->id;
Does anybody know hot to achieve this ?
Aucun commentaire:
Enregistrer un commentaire