We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think that if i update an entity changing the value of an "unique" field, save system does not check unique integrity.
The text was updated successfully, but these errors were encountered:
You are right. The validation of the unique constraint is limited to new entities: https://github.com/spotorm/spot2/blob/master/lib/Mapper.php#L1125
I don't know if there is a reason being that, but the code should still be failing at the database level with an exception.
Sorry, something went wrong.
No branches or pull requests
I think that if i update an entity changing the value of an "unique" field, save system does not check unique integrity.
The text was updated successfully, but these errors were encountered: