New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for queries in /{db}/_all_docs POST #1032
Merged
wohali
merged 1 commit into
apache:master
from
cloudant:issue-820-add-queries-for_all_docs
Jan 18, 2018
Merged
Add support for queries in /{db}/_all_docs POST #1032
wohali
merged 1 commit into
apache:master
from
cloudant:issue-820-add-queries-for_all_docs
Jan 18, 2018
Conversation
This file contains 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
jiangphcn
force-pushed
the
issue-820-add-queries-for_all_docs
branch
2 times, most recently
from
December 4, 2017 06:08
789bb2d
to
fe16e0c
Compare
jiangphcn
changed the title
[WIP]Add support for queries in /{db}/_all_docs POST
Add support for queries in /{db}/_all_docs POST
Dec 4, 2017
jiangphcn
force-pushed
the
issue-820-add-queries-for_all_docs
branch
4 times, most recently
from
December 8, 2017 08:09
e776453
to
0e849e8
Compare
Thanks!!! +1 once you resolve the conflict. :) |
jiangphcn
force-pushed
the
issue-820-add-queries-for_all_docs
branch
4 times, most recently
from
January 17, 2018 13:20
b254060
to
7aec581
Compare
jiangphcn
force-pushed
the
issue-820-add-queries-for_all_docs
branch
from
January 18, 2018 00:08
7aec581
to
d1fa4b4
Compare
I already rebased again. @wohali or any other committer, can you help merge it to master branch? Thanks |
Done! Feel free to do the documentation too if you have time :) Thank you again. |
Thanks wohali. Will update document later. |
2 tasks
@wohali Hey Joan, documentation update PR is apache/couchdb-documentation#241. |
3 tasks
This was referenced Feb 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
Allow to POST to /{db}/_all_docs and specify a queries list in the body, the same way you can do with a regular MapReduce view, like
multiple_queries.json looks like
This also can work against /{db}/_design_docs and /{db}/_local_docs endpoints.
Testing recommendations
make check skip_deps+=couch_epi apps=chttpd tests=all_test_
Related Issues or Pull Requests
issue #820
Checklist