Skip to content
Browse files

Merge pull request #4 from janpieper/patch-3

Replaced calling limit() and skip() with setLimit() and setSkip().
  • Loading branch information...
2 parents a4b753a + 51e068d commit 5d708f52b69dab2ec2e4ddc1bc49e40e2f94f9b3 @beberlei beberlei committed Nov 5, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 en/reference/map-reduce-queries.rst
View
8 en/reference/map-reduce-queries.rst
@@ -247,8 +247,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();
@@ -273,8 +273,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 5d708f5

Please sign in to comment.
Something went wrong with that request. Please try again.