PHP - Manual: MongoDB\Driver\CursorInterface::setTypeMap
2025-03-13
(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::setTypeMap — Sets a type map to use for BSON unserialization
Sets the type map configuration to use when unserializing the BSON results into PHP values.
typeMap
(array)没有返回值。
官方地址:https://www.php.net/manual/en/mongodb-driver-cursorinterface.settypemap.php