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

Improve mango docs #101

Merged
merged 2 commits into from
Nov 15, 2016
Merged

Improve mango docs #101

merged 2 commits into from
Nov 15, 2016

Conversation

aenario
Copy link
Contributor

@aenario aenario commented Nov 15, 2016

Following PO testing of [DS-13 / E-20] , we identified some issues in docs.

  • Using {} selector to get all docs was a hack and broke when we forbid unoptimised queries, remove it from the docs. We should replace it by an HTTP API for couchdb.GetAllDocs (see [APPS] Improve error handling #100)
  • Sort field must be an array and match an existing index,.

And @jinroh saw that it is more efficient to use_index, in couchdb docs

For now, the API is just a proxy to couchdb, so we only improve docs to match API behaviour.
Later we might imagine improving API to match user expectation, like autocompleting the beginning of sort field.

@nono nono merged commit bfb6758 into cozy:master Nov 15, 2016
@aenario aenario deleted the mango-doc branch November 15, 2016 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants