Method |
Description |
|
__call ( string $method, array $arguments ) : mixed |
Route the original MongoCursor method |
|
__construct ( MongoCursor $cursor ) |
Constructor, sets the cursor |
|
__toString ( ) : string |
Convert the cursor to string. |
|
count ( ) : integer |
Implement Countable |
|
countAll ( ) : integer |
Counts all query results |
|
getCursor ( ) : MongoCursor |
Return the MongoCursor instance |
|
getIterator ( ) : Iterator |
Implement IteratorAggregate |
|
toArray ( ) : array |
Get the items as array. |
|
toJson ( integer $options ) : string |
Get the items as JSON. |
|
toObject ( ) : object |
Get the items as an object. |
|