The design documentation exactly matches the normal documents, so the name is "project documents" instead of "couch programs" or such.
If you make identical changes to identical documents in different databases, you will have no conflicts. Running couchapp push could create this situation if you couchapp push the same application to two different databases (and they start with the same _rev ).
Otherwise, you will receive a conflict, regardless of whether it is framed or not. Of course, the couch will βpromoteβ one revision as a canonical version, but if you look at _conflicts in the view, you will see them. (To view design documents in a view, you must also include the include_design parameter.)
{ "_id": "_design/example" , "views": { "conflicts": { "options": {"include_design": true} , "map": "function(doc) { if(doc._conflicts) emit(doc._id, doc._conflicts); }" } } }
Find conflicting ddocs by scanning a range of keys:
?startkey="_design/"&endkey="_design0"
source share