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
It would be good to have promise support added to the project.
A possible implementation would be: if callback is not passed, then return the result via a Promise.
So instead of:
MyCollection.find().limit(20, (results) => { /* ... */ });
it would be:
const results = MyCollection.find().limit(20)
At the same time it would be good to have support for Array functions, such as forEach()
forEach()
The text was updated successfully, but these errors were encountered:
Good point. This is a deal breaker for me - it's the only reason I decided to skip tingoDB.
However, the code hasn't been updated for over a year, so we shouldn't hold our hopes up
Sorry, something went wrong.
@kfirprods out of interest, what did you find that supported promises and is similar?
Eventually I decided to use lowdb
Cheers - looks like a decent alternative.
Shame there's nothing that's compatible with the newer mongodb drivers but this should be fine until I need a scalable database.
No branches or pull requests
It would be good to have promise support added to the project.
A possible implementation would be: if callback is not passed, then return the result via a Promise.
So instead of:
MyCollection.find().limit(20, (results) => { /* ... */ });
it would be:
const results = MyCollection.find().limit(20)
At the same time it would be good to have support for Array functions, such as
forEach()
The text was updated successfully, but these errors were encountered: