Tool for deleting all records matched by a view?
Every once in a while I get bad data into our couchbase database. Usually, it's just a few records. When it happens, I create a dev view over the entire dataset that matches all affected records and then manually delete them through the UI. It's a bit tedious, but it works. However, I was wondering if someone already built a tool that could be given a view and then would automatically enumerate all matching records and delete them. If none exists, I might just build one and share it, but I'd rather not duplicate effort. Or maybe there is a better way to handle this?