« MongoDB\Driver\CursorInterface::isDead
MongoDB\Driver\CursorInterface::toArray »

MongoDB\Driver\CursorInterface::setTypeMap

(mongodb >=1.6.0)

MongoDB\Driver\CursorInterface::setTypeMap — Sets a type map to use for BSON unserialization

説明

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

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

パラメータ

typeMap (array)

Type map configuration.

戻り値

値を返しません。

エラー / 例外

参考

関連キーワード:
MongoDB   Driver   CursorInterface   Sets   type   unserialization   setTypeMap   configuration   isDead   toArray   mongodb   abstract   typemap   unserializing   results   values   typeMap   Type   Throws   Exception   InvalidArgumentException   argument   parsing   errors   参考
関連する関数・ページ:
mongodb-driver-cursorinterface.toarray   class.mongodb-driver-cursorinterface   mongodb-driver-cursor.settypemap   mongodb-driver-cursorinterface.getid   mongodb-driver-cursorinterface.getserver   mongodb-driver-cursorinterface.isdead