Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1.0-dp1
-
Fix Version/s: None
-
Component/s: None
-
Security Level: Public
-
Labels:None
Description
We should bake in pagination into ext/couchbase
$result = $cb->view("ddoc", "viewname");
$pager = $result->getPager($rowsPerPage = 10);
foreach($pager->nextPage() AS $page) {
foreach($page->rows AS $row) {
var_dump($row);
}
}
$result = $cb->view("ddoc", "viewname");
$pager = $result->getPager($rowsPerPage = 10);
foreach($pager->nextPage() AS $page) {
foreach($page->rows AS $row) {
var_dump($row);
}
}
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
The idea behind logical include_docs is that when fetching a non-reduced view, if the user specifies include_docs, there is a way to access the document when iterating over the results.
I'm relatively sure this may require further discussion. Grab me when you're ready to have a look at this issue.