-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Query view with stale = ok does not work #719
Comments
There is a difference between the Cloudant offering and your local CouchDB. Cloudant have a "view warming" service that automatically builds views for you in the background. CouchDB doesn't offer this functionality. You have to build your view at least once, by querying it without the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
it should return the data in the db I am querying
Current Behavior
It returns empty array
Steps to Reproduce (for bugs)
1, Set up a CouchDb running locally.
2, Try to query a view by:
Context
I am writing a test for my project which needs to set up db locally and get data from it. The query sentence with stale = 'ok' actually works well with the remote cloudant database. But when I set up the CouchDb locally, it does not work.
Your Environment
The text was updated successfully, but these errors were encountered: