Results of 1 - 10 of about 28 for typemap (0.003 sec.)
- Sets a type map to use for BSON unserialization 11323
- « MongoDB\Driver\CursorInterface::isDead MongoDB\Driver\CursorInterface::toArray » PHP Manual MongoDB\Driver\CursorInterface Sets a type map to use for BSON unserialization 検索 MongoDB\Driver\CursorInterface::setTypeMap (mongodb >=1.6.0) M
... ongoDB\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 ( a ... rray ) Type map configuration . 戻り値 値を返しません。 エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argumen ...
-
https://man.mtool.work/php/8.3/mongodb-driver-cursorinterface.settypemap.html
- Serialization and deserialization of PHP variables into MongoDB 11028
- « Connections Security » PHP Manual Driver Architecture and Internals Serialization and deserialization of PHP variables into MongoDB 検索 Serialization and deserialization of PHP variables into MongoDB This document discusses how compound
... sible to configure specific fields in your document to map to the data types mentioned below. As an example, the following type map allows you to map each embedded document within an "addresses" array to an Address class and each "city" field within tho ... _pclass property and that class exists and implements MongoDB\BSON\Persistable it will supersede the class provided in the type map. The properties of the BSON document, including the __pclass property if it exists, will be sent as an associative array ... to the MongoDB\BSON\Unserializable::bsonUnserialize() function to initialise the object's properties. TypeMaps TypeMaps can be set through the MongoDB\Driver\Cursor::setTypeMap() method on a MongoDB\Driver\Cursor object, or the $typ ...
-
https://man.mtool.work/php/8.3/mongodb.persistence.html
- Serialization and deserialization of PHP variables into MongoDB 11028
- « Connections Security » PHP Manual Driver Architecture and Internals Serialization and deserialization of PHP variables into MongoDB 検索 Serialization and deserialization of PHP variables into MongoDB This document discusses how compound
... sible to configure specific fields in your document to map to the data types mentioned below. As an example, the following type map allows you to map each embedded document within an "addresses" array to an Address class and each "city" field within tho ... _pclass property and that class exists and implements MongoDB\BSON\Persistable it will supersede the class provided in the type map. The properties of the BSON document, including the __pclass property if it exists, will be sent as an associative array ... to the MongoDB\BSON\Unserializable::bsonUnserialize() function to initialise the object's properties. TypeMaps TypeMaps can be set through the MongoDB\Driver\Cursor::setTypeMap() method on a MongoDB\Driver\Cursor object, or the $typ ...
-
https://man.mtool.work/php/8.3/mongodb.persistence.html
- Returns the PHP representation of the BSON document 10536
- « MongoDB\BSON\Document::toCanonicalExtendedJSON MongoDB\BSON\Document::toRelaxedExtendedJSON » PHP Manual MongoDB\BSON\Document Returns the PHP representation of the BSON document 検索 MongoDB\BSON\Document::toPHP (mongodb >=1.16.0) MongoD
... P — Returns the PHP representation of the BSON document 説明 final public function MongoDB\BSON\Document::toPHP ( ? array $typeMap = null ): array | object Unserializes the BSON document to its PHP representation. The typeMap parameter may be used to co ... d arrays cannot have duplicate keys, data could also be lost when decoding a BSON document with duplicate keys. パラメータ typeMap ( array ) Type map configuration . 戻り値 The decoded PHP value. 注意 : When encountering a value encoded as 64-bit intege ... be a MongoDB\BSON\Int64 instance. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 参考 MongoDB\BSON\toPHP() - Returns the PHP re ...
-
https://man.mtool.work/php/8.3/mongodb-bson-document.tophp.html
- Returns the PHP representation of the BSON document 10438
- « MongoDB\BSON\Document::toCanonicalExtendedJSON MongoDB\BSON\Document::toRelaxedExtendedJSON » PHP Manual MongoDB\BSON\Document Returns the PHP representation of the BSON document 検索 MongoDB\BSON\Document::toPHP (mongodb >=1.16.0) MongoD
... P — Returns the PHP representation of the BSON document 説明 final public function MongoDB\BSON\Document::toPHP ( ? array $typeMap = null ): array | object Unserializes the BSON document to its PHP representation. The typeMap parameter may be used to co ... d arrays cannot have duplicate keys, data could also be lost when decoding a BSON document with duplicate keys. パラメータ typeMap ( array ) Type map configuration . 戻り値 The decoded PHP value. 注意 : When encountering a value encoded as 64-bit intege ... be a MongoDB\BSON\Int64 instance. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 参考 MongoDB\BSON\toPHP() - Returns the PHP re ...
-
https://man.mtool.work/php/8.3/mongodb-bson-document.tophp.html
- Sets a type map to use for BSON unserialization 9962
- « MongoDB\Driver\CursorInterface::isDead MongoDB\Driver\CursorInterface::toArray » PHP Manual MongoDB\Driver\CursorInterface Sets a type map to use for BSON unserialization 検索 MongoDB\Driver\CursorInterface::setTypeMap (mongodb >=1.6.0) M
... ongoDB\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 ( a ... rray ) Type map configuration . 戻り値 値を返しません。 エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argumen ...
-
https://man.mtool.work/php/8.3/mongodb-driver-cursorinterface.settypemap.html
- Returns the PHP representation of the BSON array 9766
- « MongoDB\BSON\PackedArray::toCanonicalExtendedJSON MongoDB\BSON\PackedArray::toRelaxedExtendedJSON » PHP Manual MongoDB\BSON\PackedArray Returns the PHP representation of the BSON array 検索 MongoDB\BSON\PackedArray::toPHP (mongodb >=1.16.
... P — Returns the PHP representation of the BSON array 説明 final public function MongoDB\BSON\PackedArray::toPHP ( ? array $typeMap = null ): array | object パラメータ typeMap ( array ) Type map configuration . 戻り値 The decoded PHP value. 注意 : When e ... be a MongoDB\BSON\Int64 instance. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 参考 MongoDB\BSON\toPHP() - Returns the PHP re ... presentation of a BSON value » BSON Types 関連キーワード: MongoDB array PackedArray Returns representation toPHP value typeMap map toCanonicalExtendedJSON Search toRelaxedExtendedJSON mongodb final function null object パラメータ Type configuration ...
-
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.tophp.html
- Returns the PHP representation of the BSON array 9766
- « MongoDB\BSON\PackedArray::toCanonicalExtendedJSON MongoDB\BSON\PackedArray::toRelaxedExtendedJSON » PHP Manual MongoDB\BSON\PackedArray Returns the PHP representation of the BSON array 検索 MongoDB\BSON\PackedArray::toPHP (mongodb >=1.16.
... P — Returns the PHP representation of the BSON array 説明 final public function MongoDB\BSON\PackedArray::toPHP ( ? array $typeMap = null ): array | object パラメータ typeMap ( array ) Type map configuration . 戻り値 The decoded PHP value. 注意 : When e ... be a MongoDB\BSON\Int64 instance. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 参考 MongoDB\BSON\toPHP() - Returns the PHP re ... presentation of a BSON value » BSON Types 関連キーワード: MongoDB PackedArray representation toPHP typeMap toCanonicalExtendedJSON toRelaxedExtendedJSON mongodb final Type configuration decoded encountering encoded integer return ...
-
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.tophp.html
- Returns the PHP representation of a BSON value 9373
- « MongoDB\BSON\toJSON MongoDB\BSON\toRelaxedExtendedJSON » PHP Manual 関数 Returns the PHP representation of a BSON value 検索 MongoDB\BSON\toPHP (mongodb >=1.0.0) MongoDB\BSON\toPHP — Returns the PHP representation of a BSON value 警告 Thi
... . Applications should use MongoDB\BSON\Document::toPHP() instead. 説明 function MongoDB\BSON\toPHP ( string $bson , array $typeMap = array() ): array | object Unserializes a BSON document (i.e. binary string) to its PHP representation. The typeMap param ... also be lost when decoding a BSON document with duplicate keys. パラメータ bson ( string ) BSON value to be unserialized. typeMap ( array ) Type map configuration . 戻り値 The unserialized PHP value. エラー / 例外 Throws MongoDB\Driver\Exception\Invali ... dArgumentException if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . Throws MongoDB\Driver\Exception\UnexpectedValu ...
-
https://man.mtool.work/php/8.3/function.mongodb.bson-tophp.html
- Sets a type map to use for BSON unserialization 8996
- « MongoDB\Driver\Cursor::rewind MongoDB\Driver\Cursor::toArray » PHP Manual MongoDB\Driver\Cursor Sets a type map to use for BSON unserialization 検索 MongoDB\Driver\Cursor::setTypeMap (mongodb >=1.0.0) MongoDB\Driver\Cursor::setTypeMap — S
... ets a type map to use for BSON unserialization 説明 final public function MongoDB\Driver\Cursor::setTypeMap ( array $typemap ): void Set ... s the type map configuration to use when unserializing the BSON results into PHP values. パラメータ typeMap ( array ) Type map configura ... n argument parsing errors. When iterating over the cursor, the following exceptions can also be thrown due to an incorrect type map configuration: Throws MongoDB\Driver\Exception\InvalidArgumentException if a class in the type map cannot be instantiated ...
-
https://man.mtool.work/php/8.3/mongodb-driver-cursor.settypemap.html