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

How to remove data by filter #186

Open
michael2043 opened this issue Jul 7, 2016 · 1 comment
Open

How to remove data by filter #186

michael2043 opened this issue Jul 7, 2016 · 1 comment

Comments

@michael2043
Copy link

I want to remove data by filter like below

db.xxx.query().filter(function(){
return xxxxx;//condition
}).remove();

how can I use ?

@brettz9
Copy link
Contributor

brettz9 commented Oct 5, 2016

Use modify (optionally with filter before it): https://github.com/aaronpowell/db.js#atomic-updates

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