MongoDB\Driver\CursorInterface::setTypeMap
(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::setTypeMap — Sets 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.
返り値
値を返しません。
参考
- MongoDB\Driver\Cursor::setTypeMap() - Sets a type map to use for BSON unserialization
- Persisting Data