Answers for "unique check two clolumn in laravel validation"

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
0

unique check two clolumn in laravel validation

'data.ip' => ['required', 'unique:servers,ip,'.$this->id.',NULL,id,hostname,'.$request->input('hostname')]
Posted by: Guest on February-08-2021
0

unique check two clolumn in laravel validation

'data.ip' => ['required', 'unique:servers,ip,'.$this->id.','.$request->input('id').',id,hostname,'.$request->input('hostname')]
Posted by: Guest on February-08-2021

Code answers related to "unique check two clolumn in laravel validation"

Browse Popular Code Answers by Language