[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/mongo/mongocursor/_batchsize.xml?=
From: Kristina_Chodorow <kristina () php ! net>
Date: 2010-11-22 15:31:15
Message-ID: svn-kristina-1290439875-305656-1009725908 () svn ! php ! net
[Download RAW message or body]
kristina Mon, 22 Nov 2010 15:31:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305656
Log:
fixed batchSize doc
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongocursor/batchsize.xml
Modified: phpdoc/en/trunk/reference/mongo/mongocursor/batchsize.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongocursor/batchsize.xml 2010-11-22 15:00:51 UTC \
(rev 305655)
+++ phpdoc/en/trunk/reference/mongo/mongocursor/batchsize.xml 2010-11-22 15:31:15 UTC \
(rev 305656) @@ -3,7 +3,7 @@
<!-- $Revision$ -->
<refentry xml:id="mongocursor.batchsize" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv>
- <refname>MongoCursor::limit</refname>
+ <refname>MongoCursor::batchSize</refname>
<refpurpose>Sets the number of results returned per result set</refpurpose>
</refnamediv>
@@ -30,19 +30,19 @@
<?php
// one batch, at most 20 items
-$cursor->limit(-20)->batch(10);
+$cursor->limit(-20)->batchSize(10);
// one batch, at most 10 items
-$cursor->limit(20)->batch(-10);
+$cursor->limit(20)->batchSize(-10);
// first batch: at most 10 items
$cursor->limit(10);
// first batch: at most 10 items
-$cursor->limit(10)->batch(20);
+$cursor->limit(10)->batchSize(20);
// first batch: at most 10 items
-$cursor->limit(20)->batch(10);
+$cursor->limit(20)->batchSize(10);
$cursor->limit(30)->batchSize(7)
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic