Answers for "laravel db check if id exists"

PHP
0

exists id in the table in laravel validation

'game_id' => 'required|exists:games,id,another_column,NULL',
Posted by: Guest on June-04-2021
1

laravel model exists id

if (User::where('email', '=', Input::get('email'))->exists()) {
   // user found
}
Posted by: Guest on July-23-2020

Code answers related to "laravel db check if id exists"

Browse Popular Code Answers by Language