Answers for "laravel unique field with another"

PHP
1

laravel unique validation on multiple columns

'mobile_no' 
  => 'unique:users,mobile_no,NULL,id,country_id,'.request('country_id');
Posted by: Guest on October-23-2020
0

laravel rule unique where

'required|email|unique:company_users,email_address,NULL,id,company_id,' . $request->company_id
Posted by: Guest on October-09-2020

Code answers related to "laravel unique field with another"

Browse Popular Code Answers by Language