(mongodb >=0.4.0)
MongoDB\Driver\Cursor::toArray — Returns an array of all result documents for this cursor
Diese Funktion hat keine Parameter.
Beispiel #1 MongoDB\Driver\Cursor::toArray() example
<?php
/* ... */
?>
Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
...