Reputation: 137
Basically what the question says.
I have a database where I've created a bunch of different views while trying to learn how the whole thing works. Now I have a few views I really need and a lot of views I don't need. However I have not been able to find a way to remove those views using futon. What am I doing wrong?
I'm also accepting solutions that don't involve futon.
Upvotes: 1
Views: 233
Reputation: 1225
The views map/reduce code is located inside design docs. You have to remove the view from the ddoc which you can achive via futon
DB > design docs > ddoc > remove view code > save ddoc
In which ddoc a particular view is stored can be seen in the filter dropdown in futon.
Alternatively the ddoc update can be done via CouchDB API.
Upvotes: 2