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
Are there plans to add more to the API such as finding by more than id?
Maybe an option to find and findOne which accepts an object as the criteria, e.g.
this.find({ datetime: 1587036888 }, { ttl }) and this.findOne({ datetime: 1587036888 }, { ttl })
this.find({ datetime: 1587036888 }, { ttl })
this.findOne({ datetime: 1587036888 }, { ttl })
Also there are other useful methods like findOneAndUpdate?
findOneAndUpdate
The text was updated successfully, but these errors were encountered:
No plans atm. You're welcome to contribute to #1 or #2, and I'd review a PR. Otherwise, the full Mongo API is available under this.collection.
this.collection
Sorry, something went wrong.
No branches or pull requests
Are there plans to add more to the API such as finding by more than id?
Maybe an option to find and findOne which accepts an object as the criteria, e.g.
this.find({ datetime: 1587036888 }, { ttl })
and
this.findOne({ datetime: 1587036888 }, { ttl })
Also there are other useful methods like
findOneAndUpdate
?The text was updated successfully, but these errors were encountered: