(mongodb >=0.4.0)
MongoDB\Driver\Cursor::setTypeMap — Sets a type map to use for BSON unserialization
$typemap
)
typemap
Example #1 MongoDB\Driver\Cursor::setTypeMap() example
<?php
/* ... */
?>
Exemplul de mai sus va afișa ceva similar cu:
...