Welcome Guest, Not a member yet? Register   Sign In
How to validate data with in_list inside model
#4

I think that's what the is_not_unique method is for.

PHP Code:
protected $validationRules = [
    'id' => 'required|is_not_unique[table.id]'
]; 
Reply


Messages In This Thread
RE: How to validate data with in_list inside model - by ojmichael - 04-18-2021, 11:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB