Welcome Guest, Not a member yet? Register   Sign In
Updating Model with a unique field?

(This post was last modified: 05-04-2019, 05:47 PM by MeltedRolo.)

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

Theme © iAndrew 2016 - Forum software by © MyBB