Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_unique error on update #292

Open
venonw opened this issue Oct 26, 2019 · 0 comments
Open

is_unique error on update #292

venonw opened this issue Oct 26, 2019 · 0 comments

Comments

@venonw
Copy link

venonw commented Oct 26, 2019

Hello,

I'm using MY_Model for a script but I have a problem in is_unique validation:
$this->pages_model->from_form(NULL,array('id' => $page_id),array('id' => $page_id))->update();

it seems I can't exclude current DB raw to check for unique validation and it always shows an error. how can I modify it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant