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

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.


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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