Php/docs/mongodb-driver-cursorinterface.settypemap

提供:Dev Guides
< Php
2020年12月14日 (月) 10:52時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

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)
型マップの設定


返り値

値を返しません。


エラー / 例外


参考