-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ORM bug - search by primary key #13336
Labels
Comments
Agreed, If the paramiter passed is not null the orm should throw an exeption if the primary key is no equal to the value passed. |
This has been addressed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected and Actual Behavior
When searching for a record by primary key equal to false, then ORM simply selects the first record from the table.
I think it would be more logical if ORM returned an error.
Responce:
Details
20180105151310.14+jessie1.gbp1086famysql Ver 14.14 Distrib 5.5.55, for debian-linux-gnu (x86_64) using readline 6.3
ENGINE=InnoDB
The text was updated successfully, but these errors were encountered: