update : 2015.11.03
php.shukuma.com검색:
|
MongoCursor::batchSize(PECL mongo >=1.0.11) MongoCursor::batchSize — Limits the number of elements returned in one batch. 설명A cursor typically fetches a batch of result objects and store them locally. This method sets the batchSize value to configure the amount of documents retrieved from the server in one round trip. However, it will never return more documents than fit in the max batch size limit (usually 4MB). 인수
반환값Returns this cursor. 예제Example #1 MongoCursor::batchSize() and combinations with MongoCursor::limit()
<?php 참고MongoDB core docs on » batchSize.
변경점
|