-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add find_one method. #42
Comments
You could do |
The boilerplate is not so much in the number of characters as |
Actually, it's not quite the same. I think |
@HighCommander4 I don't think that is intuitive. I've never found myself commonly needing to require that a query result is completely unique. This would be a lot easier to convey through |
If it shouldn't be unique, shouldn't it be called |
Currently just to find a single element requires a bit of boilerplate. Consider adding a a
find_one
method that returnsOption<Node>
.The text was updated successfully, but these errors were encountered: