Closed PascalTurbo closed 6 years ago
All these are supported.
See the bucket function:
def view(design, view, include_docs: true, is_spatial: false, **opts, &row_modifier)
# ...
end
The **opts
is passed directly to the view query
bucket.view('zone', 'all', limit: 5, skip: 10, descending: true)
So it supports all the params: https://developer.couchbase.com/documentation/server/3.x/admin/Views/views-querying.html#story-h2-1
Couchbase allows to query a view by different operators:
limit
allows to limit the number of recordsskip
allows to start iteration not only from the beginning of the viewdescending
allows to start beginning with the last entry in view