Skip to content
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

keynot #594

Closed
agsci2017 opened this issue Jun 11, 2017 · 2 comments
Closed

keynot #594

agsci2017 opened this issue Jun 11, 2017 · 2 comments

Comments

@agsci2017
Copy link

Feature request:

  1. Add keynot feature(keynot="zinc")
  2. Add keynot list support(keynot=["zinc","copper"])

Example:

http:https://mydatabase.com/screws/_design/design/_view/bycost?keynot="zinc"

Expected Behaviour

view produces results, where key is not equal to "zinc" (only brass, copper screws)

@wohali
Copy link
Member

wohali commented Jun 11, 2017

You can do this right now very easily with two queries. Each query would use startkey and endkey to access the entire range of keys just before and just after the key you are wanting to exclude.

@janl
Copy link
Member

janl commented Oct 1, 2017

This is not likely to move forward without a PR, and there might still be opposition to the feature then (just setting expectations here for anyone going to attempt this. Added needhelp label, reopen when PR exists.

@janl janl closed this as completed Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants