Permalink
Browse files

Replaced calling limit() and skip() with setLimit() and setSkip().

  • Loading branch information...
1 parent 3009ac0 commit 51e068d1d6e6f5381e7c509064b73404a63941f0 @janpieper janpieper committed Nov 2, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 en/reference/map-reduce-queries.rst
@@ -249,8 +249,8 @@ An example execution of the username view given above looks like:
$query = $dm->createQuery("myapp", "username");
$result = $query->setStartKey("b")
->setEndKey("c")
- ->limit(100)
- ->skip(20)
+ ->setLimit(100)
+ ->setSkip(20)
->onlyDocs(true)
->execute();
@@ -275,8 +275,8 @@ The following snippet shows the difference:
$query = $dm->createQuery("myapp", "username");
$result = $query->setStartKey("b")
->setEndKey("c")
- ->limit(100)
- ->skip(20)
+ ->setLimit(100)
+ ->setSkip(20)
->onlyDocs(true)
->execute();

0 comments on commit 51e068d

Please sign in to comment.