(mongodb >=0.4.0)
MongoDB\Driver\Cursor::toArray — Returns an array of all result documents for this cursor
此函数没有参数。
Example #1 MongoDB\Driver\Cursor::toArray() example
<?php/* ... */?>
以上例程的输出类似于:
...