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

Mapper#find should apply require by default. #58

Open
rhys-vdw opened this issue May 22, 2016 · 1 comment
Open

Mapper#find should apply require by default. #58

rhys-vdw opened this issue May 22, 2016 · 1 comment

Comments

@rhys-vdw
Copy link
Owner

This is how ActiveRecord works.

@rhys-vdw
Copy link
Owner Author

This should apply to findBy as well.

require only cares whether the result set has at least one record. This might have to be changed to validate the result set from calls to find that target multiple rows...

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

No branches or pull requests

1 participant