Skip to content
This repository was archived by the owner on Jul 22, 2019. It is now read-only.

FIX start_key and end_key usage #326

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Fabsolute
Copy link

No description provided.

Copy link
Collaborator

@kxepal kxepal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! These ones are less known, but still valid for modern CouchDB. Please, add test case to make sure we do support them in future.

@@ -939,7 +939,13 @@ def test_startkey(self):
[self.docfromnum(x) for x in range(self.num_docs - 2, self.num_docs)])
self.assertEqual([self.docfromrow(doc) for doc in self.db.iterview('test/nums', 10, startkey=1, descending=True)],
[self.docfromnum(x) for x in range(3, -1, -1)])


def test_start_key(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's just start_key. The end_key case is still uncovered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants