Answers for "how to check if entry is present in databas ein laravel"

C#
1

validate data exist in database lara vel

if (User::where('email', Input::get('email'))->exists()) {
    // exists
}
Posted by: Guest on July-19-2021
1

validate data exist in database lara vel

$this->validate($request, [
        'email' => 'required|exists:user|email',
    ]);
Posted by: Guest on July-19-2021

Code answers related to "how to check if entry is present in databas ein laravel"

C# Answers by Framework

Browse Popular Code Answers by Language