Creates a new instance of a non embedded Cursor.
public createCursor ( |
||
$entitySchema | Schema that describes the entity that will be retrieved from the database. | |
$collection | MongoDB\Collection | The raw collection object that will be used to retrieve the documents. |
$command | string | The command that is being called in the $collection. |
$params | array | The parameters of the $command. |
$cacheable | boolean | Retrieves a CacheableCursor instead. |
return |