Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • 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); }

      }

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        ingenthr Matt Ingenthron added a comment -

        This should be implemented along with "logical" include_docs support.

        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.

        Show
        ingenthr Matt Ingenthron added a comment - This should be implemented along with "logical" include_docs support. 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.
        Hide
        brett19 Brett Lawson added a comment -

        Further Discussion!

        Show
        brett19 Brett Lawson added a comment - Further Discussion!

          People

          • Assignee:
            brett19 Brett Lawson
            Reporter:
            jan Jan Lehnardt (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes