(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::toArray — Returns an array containing all results for this cursor
Iterates the cursor and returns its results in an array. MongoDB\Driver\CursorInterface::setTypeMap() may be used to control how documents are unserialized into PHP values.
Questa funzione non contiene parametri.
Returns an array containing all results for this cursor.