• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating Model with a unique field?

#1
Hi guys

Just working on an update in the model controller and have hit a snag.

I have setup one of the fields as unique, when I try an update, it always fails, unless that particular field has changed and is still unique.

Is there a way to temporarily turn off the unique check based on if it has changed or not? because I may not want to change that field.

Thanks
Reply


Messages In This Thread
Updating Model with a unique field? - by MeltedRolo - 05-04-2019, 06:45 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.