(mongodb >=0.4.0)
MongoDB\Driver\Cursor::toArray — Returns an array of all result documents for this cursor
Această funcție nu are parametri.
Example #1 MongoDB\Driver\Cursor::toArray() example
<?php
/* ... */
?>
Exemplul de mai sus va afișa ceva similar cu:
...