Answers for "how to validate if two columns are unique laravel"

PHP
1

unique check with multiple columns laravel validation

'name' => 'unique:table,field,NULL,id,field1,value1,field2,value2,field3,value3'
Posted by: Guest on May-11-2021
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

Code answers related to "how to validate if two columns are unique laravel"

Browse Popular Code Answers by Language