cloudant / java-cloudant

A Java client for Cloudant
Apache License 2.0
79 stars 68 forks source link

Allow retrieval of deleted flag on all_docs #439

Closed tomblench closed 6 years ago

tomblench commented 6 years ago

What

Allow retrieval of deleted flag on all_docs

How

Introduce "sparse document" information which can be retrieved even when include_docs=false is set. This allows for retrieval of id, rev, and deleted flag.

Also, add null check to getDocsAs(): this ensures that attempting to deserialise deleted documents does not prevent retrieval of non-deleted ones.

Testing

Added

Issues

See #427 See #440