On Tue, Aug 18, 2015 at 9:34 PM, Florin Andrei <[email protected]> wrote:
> I have the list of design documents for a DB. I have the list of .view files
> related to that DB.
>
> For any given .view file, how do I tell which design documents are using it?

1. Get the view file name
2. For each design document request /_info subresource like:

curl  http://localhost:5984/db/_design/ddoc/_info

3. Find signature field within view_index object
4. Those that will match your filename is the ddoc that you're looking for.


--
,,,^..^,,,

Reply via email to