PHP » GoLang |
login |
register |
about
|
GoLang MongoCursor::batchSize
request it (354)
GoLang replacement for PHP's MongoCursor::batchSize
[edit | history]
MongoCursor::batchSize(PECL mongo >=1.0.11) MongoCursor::batchSize — Limits the number of elements returned in one batch DescriptionA 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). Parameters
Return ValuesReturns this cursor. ExamplesExample #1 MongoCursor::batchSize() and combinations with MongoCursor::limit()
<?php See AlsoMongoDB core docs on » batchSize.
Changelog
|
more
Recently updated
more
Most requested
more
Last requests
|