update : 2015.11.03
php.shukuma.com검색:
|
MongoCommandCursor::__construct(PECL mongo >=1.5.0) MongoCommandCursor::__construct — Create a new command cursor 설명
public MongoCommandCursor::__construct
( MongoClient
$connection
, string $ns
, array $command = array()
)Generally, you should not have to construct a MongoCommandCursor manually, as there are helper functions such as MongoCollection::aggregateCursor() and MongoCollection::parallelCollectionScan(); however, if the server introduces new commands that can return cursors, this constructor will be useful in the absence of specific helper methods. You may also consider using MongoCommandCursor::createFromDocument(). 인수
반환값Returns the new cursor. 예제Example #1 MongoCommandCursor example
<?php 참고
|