Support the ongoing development of →


Joined 25 May 2017


Threads 1
Replies 1
Solutions 0
Articles 0

Laravel request for specific unique field

Hi, I have my request form for destinations, it has, id, name and location_id so depending on the lo...

Likes Replies
replied 6 years ago

Laravel request for specific unique field

I could do it like this $rules = [ 'name' => Rule::unique('price_types')->where('location_id',...


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.