Answers for "validate rule if row exist laravel"

PHP
0

validate rule if row exist laravel

//update request 
return [
	'username' => 'unique:users,username,' . $this->route('internalUser')->id . ',id',
];

//create request
return [
	'username' => 'unique:users'
];
Posted by: Guest on November-07-2020

Code answers related to "validate rule if row exist laravel"

Browse Popular Code Answers by Language