This repository was archived by the owner on May 25, 2021. It is now read-only.
Support additional doc option opts in views#52
Open
b20n wants to merge 1 commit intoapache:masterfrom
Open
Conversation
COUCHDB-2568 allowed several attachment-related doc open options to be passed through _all_docs queries. This patch extends that work to various other options by adding support for various doc open options to the view argument parser: - revs_info - deleted_conflicts - meta - r Additionally, this patch changes the behavior of the "conflicts" view option to furthermore apply the "conflicts" doc open option if include_docs=true is specified by the user. Without this functionality there is no way for a user to implement an "always on" conflict detection and resolution policy if they're using _all_docs POST queries as their primary document access path. COUCHDB-3064
Contributor
|
@banjiewen you'll want to add validations for these new arguments in couchdb-couch-mrview/src/couch_mrview_util.erl Lines 402 to 522 in 3ce2864 |
Contributor
Author
These all end up in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
COUCHDB-2568 allowed several attachment-related doc open options to be
passed through _all_docs queries. This patch extends that work to
various other options by adding support for various doc open options to
the view argument parser:
Additionally, this patch changes the behavior of the "conflicts" view
option to furthermore apply the "conflicts" doc open option if
include_docs=true is specified by the user.
Without this functionality there is no way for a user to implement an
"always on" conflict detection and resolution policy if they're using
_all_docs POST queries as their primary document access path.
COUCHDB-3064