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

db's collection.find should handle an array of ids... #68

Closed
lukemelia opened this issue Mar 26, 2015 · 2 comments
Closed

db's collection.find should handle an array of ids... #68

lukemelia opened this issue Mar 26, 2015 · 2 comments

Comments

@lukemelia
Copy link
Collaborator

and return an array of items with those ids (a la ActiveRecord::Base#find)

@samselikoff
Copy link
Collaborator

.find([1, 2, 3]) and/or .find(1, 2, 3)?

@lukemelia
Copy link
Collaborator Author

I think the change you made is sufficient. Supporting .find(1, 2, 3) is going to limit future API flexibility

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

2 participants