PHP » GoLang |
login |
register |
about
|
GoLang MongoCollection::parallelCollectionScan
request it (398)
GoLang replacement for PHP's MongoCollection::parallelCollectionScan
[edit | history]
PHP MongoCollection::parallelCollectionScanPHP original manual for MongoCollection::parallelCollectionScan [ show | php.net ]MongoCollection::parallelCollectionScan(PECL mongo >=1.5.0) MongoCollection::parallelCollectionScan — Returns an array of cursors to iterator over a full collection in parallel Description
public array[MongoCommandCursor] MongoCollection::parallelCollectionScan
( int
$num_cursors
)This method returns an array of a maximum of num_cursors cursors. An iteration over one of the returned cursors results in a partial set of documents for a collection. Iteration over all the returned cursors results in getting every document back from the collection. This method is a wrapper for the parallelCollectionScan MongoDB command. Parameters
Return ValuesReturns an array of MongoCommandCursor objects. ExamplesExample #1 MongoCollection::parallelCollectionScan() example Returning all documents in a collection by using multiple cursors.
<?php |
more
Recently updated
more
Most requested
more
Last requests
|