incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Blakey <antony.bla...@gmail.com>
Subject Re: include_docs=true on _all_docs_by_seq
Date Thu, 13 Nov 2008 11:11:21 GMT

On 13/11/2008, at 9:22 PM, Antony Blakey wrote:

> When you set include_docs=true on _all_docs_by_seq, it doesn't  
> provide the deleted entries that it otherwise does. It would be  
> useful for external code that e.g. maintains an alternative index,  
> if entries for the deleted documents were returned, although without  
> the document.

Maybe in couch_httpd_view:view_row_obj, Value could be checked for  
"deleted":true (sic), which would both avoid the failed  
couch_doc_open, and ensure that value is returned.

Antony Blakey
--------------------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

What can be done with fewer [assumptions] is done in vain with more
   -- William of Ockham (ca. 1285-1349)




Mime
View raw message