MongoDB\Driver\Cursor
PHP Manual

MongoDB\Driver\Cursor::setTypeMap

(mongodb >=0.4.0)

MongoDB\Driver\Cursor::setTypeMapSets a type map to use for BSON unserialization

Descrierea

final public void MongoDB\Driver\Cursor::setTypeMap ( array $typemap )

Parametri

typemap

Valorile întoarse

Erori/Excepții

Exemple

Example #1 MongoDB\Driver\Cursor::setTypeMap() example

<?php

/* ... */

?>

Exemplul de mai sus va afișa ceva similar cu:

...

A se vedea și


MongoDB\Driver\Cursor
PHP Manual