PHP 8.1.0 Beta 1 available for testing

MongoDB\Driver\CursorInterface::setTypeMap

(mongodb >=1.6.0)

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

説明

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

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

パラメータ

typeMap (array)

型マップの設定

返り値

値を返しません。

エラー / 例外

参考

add a note add a note

User Contributed Notes

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