MongoDB\Driver\CursorInterface::setTypeMap

(mongodb >=1.6.0)

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

Descripción

abstractpublicMongoDB\Driver\CursorInterface::setTypeMap(array$typemap): void

Sets the type map configuration to use when unserializing the BSON results into PHP values.

Valores devueltos

No devuelve ningún valor.

Errores/Excepciones

Ver también

To Top