| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
MongoDB\Driver\Cursor::setTypeMap(mongodb >=1.0.0) MongoDB\Driver\Cursor::setTypeMap — Sets a type map to use for BSON unserialization 説明
final public void MongoDB\Driver\Cursor::setTypeMap
( array
$typemap
)Sets the type map configuration to use when unserializing the BSON results into PHP values. 返り値値を返しません。 エラー / 例外
例例1 MongoDB\Driver\Cursor::setTypeMap() example
<?php 上の例の出力は、 たとえば以下のようになります。 array(2) { ["_id"]=> object(MongoDB\BSON\ObjectId)#6 (1) { ["oid"]=> string(24) "56424fb76118fd3267180741" } ["x"]=> int(1) } |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「MongoDB\Driver\Cursor::setTypeMap - Sets a type map to use for BSON unserialization」をGoogle検索
|