I wrote a Couchbase view and I am requesting this view from Python. Instead of a complete set of returned data, it returns only the first 10 elements.
I do not want pagination, instead of pagination I want the whole data set. Is there any way to do this?
Below is my code:
function (doc, meta) { if (doc.type == "folder" && doc.location) { emit(doc.location, meta.id); } }
And here is the Python code that I wrote to run the request:
view_endpoint = "_design/restViews/_view/"+viewName+"?key=%22"+key response = requests.get(view_url + view_endpoint).json() return response
source share