Answers for "validate data exist in database lara vel"

C#
1

validate data exist in database lara vel

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

validate data exist in database lara vel

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

C# Answers by Framework

Browse Popular Code Answers by Language