PHP 8.0.26 Released!

MongoDB\Driver\CursorInterface::setTypeMap

(mongodb >=1.6.0)

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

Beschreibung

abstract public MongoDB\Driver\CursorInterface::setTypeMap(array $typemap): void

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

Parameter-Liste

typeMap (array)

Type map configuration.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Fehler/Exceptions

Siehe auch

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top