« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 230 for bson (0.003 sec.)
MongoDB BSON Classes and Functions | PHP 8.3 7660
MongoDB BSON Classes and Functions 目次 関数 MongoDB\BSON\Document MongoDB\BSON\PackedArray MongoDB\BSON\Iterator MongoDB\BSON\Binary MongoDB\BSON\VectorType MongoDB\BSON\Decimal128 MongoDB\BSON\Javascript MongoDB\BSON\MaxKey MongoDB\BSON\M ... inKey MongoDB\BSON\ObjectId MongoDB\BSON\Regex MongoDB\BSON\Timestamp MongoDB\BSON\UTCDateTime MongoDB\BSON\Type MongoDB\BSON\Persistable Mon ... goDB\BSON\Serializable MongoDB\BSON\Unserializable MongoDB\BSON\BinaryInterface MongoDB\BSON\Decimal128Interface MongoDB\BSON\Javasc ... riptInterface MongoDB\BSON\MaxKeyInterface MongoDB\BSON\MinKeyInterface MongoDB\BSON\ObjectIdInterface MongoDB\BSON\RegexInterface MongoDB\BSON\Times ...
https://man.mtool.work/php/8.3/mongodb.bson.html
MongoDB Extension | PHP 8.3 7618
MongoDB Extension This extension is developed atop the » libmongoc and » libbson libraries. It provides a minimal API for core driver functionality: commands , queries , writes , connection management , and BSON serialization . Userland PHP ... B\Driver\WriteResult class MongoDB\Driver\BulkWriteCommandResult — The MongoDB\Driver\BulkWriteCommandResult class MongoDB\BSON — MongoDB BSON Classes and Functions 関数 MongoDB\BSON\Document — The MongoDB\BSON\Document class MongoDB\BSON\PackedArray ... — The MongoDB\BSON\PackedArray class MongoDB\BSON\Iterator — The MongoDB\BSON\Iterator class MongoDB\BSON\Binary — The MongoDB\BSON\Binary cl ... ass MongoDB\BSON\VectorType — The MongoDB\BSON\VectorType enum MongoDB\BSON\Decimal128 — The MongoDB\BSON\Decimal128 class MongoDB\BSON\Jav ...
https://man.mtool.work/php/8.3/book.mongodb.html
Serialization and deserialization of PHP variables into MongoDB | PHP 8.3 7536
Serialization and deserialization of PHP variables into MongoDB This document discusses how compound structures (i.e. documents, arrays, and objects) are converted between BSON and PHP values. Serialization to BSON Arrays If an array is a p ... acked array — i.e. empty array or the keys start at 0 and are sequential without gaps: BSON array . If the array is not packed — i.e. having associative (string) keys, the keys don't start at 0, or when there are g ... aps:: BSON object A top-level (root) document, always serializes as a BSON document. Examples These serialize as a BSON array: [ 8, 5 ... , 2, 3 ] => [ 8, 5, 2, 3 ] [ 0 => 4, 1 => 9 ] => [ 4, 9 ] These serialize as a BSON document: [ 0 => 1, 2 => 8, 3 => 12 ] => { "0" : 1, "2" : 8, "3" : 12 } [ "foo" => 42 ] => { "foo" : 42 } [ 1 => 9, 0 => 1 ...
https://man.mtool.work/php/8.3/mongodb.persistence.html
The MongoDB\BSON\PackedArray class | PHP 8.3 7361
The MongoDB\BSON\PackedArray class (mongodb >=1.16.0) はじめに Represents a BSON array. This class is used when reading data as raw BSON and cannot be modified. クラス概要 final class MongoDB\BSON\PackedArray implements MongoDB\BSON\Type , ... ate { /* メソッド */ final private function __construct () final static public function fromJSON ( string $json ): MongoDB\BSON\PackedArray final static public function fromPHP ( array $value ): MongoDB\BSON\PackedArray final public function get ( in ... t $key ): mixed final public function getIterator (): MongoDB\BSON\Iterator final public function has ( int $index ): bool final public function offsetExists ( mixed $key ): bool final publ ... 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.17.0 Implements MongoDB\BSON\Type . PECL mongodb 1.17.0 MongoDB\BSON\PackedArray cannot be serialized in contexts where a BSON document is expected. In ...
https://man.mtool.work/php/8.3/class.mongodb-bson-packedarray.html
The MongoDB\BSON\Document class | PHP 8.3 7289
The MongoDB\BSON\Document class (mongodb >=1.16.0) はじめに Represents a BSON document. This class is used when reading data as raw BSON and cannot be modified. クラス概要 final class MongoDB\BSON\Document implements MongoDB\BSON\Type , Arr ... ayAccess , IteratorAggregate { /* メソッド */ final private function __construct () final static public function fromBSON ( string $bson ): MongoDB\BSON\Document final static public function fromJSON ( string $json ): MongoDB\BSON\Document fina ... l static public function fromPHP ( object | array $value ): MongoDB\BSON\Document final public function get ( string $key ): mixed final public function getIterator (): MongoDB\BSON\Iterator fina ... 説明 PECL mongodb 2.0.0 This class no longer implements the Serializable interface. PECL mongodb 1.17.0 Implements MongoDB\BSON\Type . 目次 MongoDB\BSON\Document::__construct — Construct a new BSON document (unused) MongoDB\BSON\Document::fromBSON — ...
https://man.mtool.work/php/8.3/class.mongodb-bson-document.html
MongoDB\BSON\toJSON — Returns the Legacy Extended JSON representation of a BSON... 7186
MongoDB\BSON\toJSON (mongodb >=1.0.0) MongoDB\BSON\toJSON — Returns the Legacy Extended JSON representation of a BSON value 警告 This function has been DEPRECATED as of extension version 1.20.0 and was removed in 2.0. Applications should us ... e MongoDB\BSON\Document::toCanonicalExtendedJSON() or MongoDB\BSON\Document::toRelaxedExtendedJSON() instead. 説明 function MongoDB\BSON\ ... toJSON ( string $bson ): string Converts a BSON string to its » Legacy Extended JSON representation. 注意 : There exist several JSON formats for ... representing BSON. This function implements the "strict mode" defined in » MongoDB Extended JSON , which has been superseded by the canonica ...
https://man.mtool.work/php/8.3/function.mongodb.bson-tojson.html
MongoDB\BSON\Serializable::bsonSerialize — Provides an array or document to ser... 7165
MongoDB\BSON\Serializable::bsonSerialize (mongodb >=1.0.0) MongoDB\BSON\Serializable::bsonSerialize — Provides an array or document to serialize as BSON 説明 abstract public function MongoDB\BSON\Serializable::bsonSerialize (): array | stdC ... lass | MongoDB\BSON\Document | MongoDB\BSON\PackedArray Called during serialization of the object to BSON. The method must return an array , s ... tdClass , MongoDB\BSON\Document , or MongoDB\BSON\PackedArray . Root documents (e.g. a MongoDB\BSON\Serializable passed to MongoDB\BSON\Document: ... :fromPHP() ) will always be serialized as a BSON document. For field values, associative arrays and stdClass instances will be serialized as a BSON document and sequential ...
https://man.mtool.work/php/8.3/mongodb-bson-serializable.bsonserialize.html
The MongoDB\BSON\Binary class | PHP 8.3 7145
The MongoDB\BSON\Binary class (mongodb >=1.0.0) はじめに BSON type for binary data (i.e. array of bytes). Binary values also have a subtype, which is used to indicate what kind of data is in the byte array. Subtypes from zero to 127 are pre ... defined or reserved. Subtypes from 128-255 are user-defined. クラス概要 final class MongoDB\BSON\Binary implements MongoDB\BSON\BinaryInterface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* 定数 */ const int ... const int TYPE_USER_DEFINED = 128 ; /* メソッド */ final public function __construct ( string $data , int $type = MongoDB\BSON\Binary::TYPE_GENERIC ) final public static function fromVector ( array $vector , MongoDB\BSON\VectorType $vectorType ): Mo ... ngoDB\BSON\Binary final public function getData (): string final public function getType (): int final public function getVectorType ...
https://man.mtool.work/php/8.3/class.mongodb-bson-binary.html
MongoDB\BSON\toCanonicalExtendedJSON — Returns the Canonical Extended JSON repr... 6990
MongoDB\BSON\toCanonicalExtendedJSON (mongodb >=1.3.0) MongoDB\BSON\toCanonicalExtendedJSON — Returns the Canonical Extended JSON representation of a BSON value 警告 This function has been DEPRECATED as of extension version 1.20.0 and was r ... emoved in 2.0. Applications should use MongoDB\BSON\Document::toCanonicalExtendedJSON() instead. 説明 function MongoDB\BSON\toCanonicalExtendedJSON ( string $bson ): string C ... onverts a BSON string to its » Canonical Extended JSON representation. The canonical format prefers type fidelity at the expense of conci ... se output and is most suited for producing output that can be converted back to BSON without any loss of type information (e.g. numeric types will remain differentiated). パラメータ bson ( string ) BSON valu ...
https://man.mtool.work/php/8.3/function.mongodb.bson-tocanonicalextendedjson.htm...
MongoDB\BSON\toRelaxedExtendedJSON — Returns the Relaxed Extended JSON represen... 6970
MongoDB\BSON\toRelaxedExtendedJSON (mongodb >=1.3.0) MongoDB\BSON\toRelaxedExtendedJSON — Returns the Relaxed Extended JSON representation of a BSON value 警告 This function has been DEPRECATED as of extension version 1.20.0 and was removed ... in 2.0. Applications should use MongoDB\BSON\Document::toRelaxedExtendedJSON() instead. 説明 function MongoDB\BSON\toRelaxedExtendedJSON ( string $bson ): string Conve ... rts a BSON string to its » Relaxed Extended JSON representation. The relaxed format prefers use of JSON type primitives at the expens ... e of type fidelity and is most suited for producing output that can be easily consumed by web APIs and humans. パラメータ bson ( string ) BSON value to be converted. 戻り値 The converted JSON value. エラー / 例外 Throws MongoDB\Driver\Exception\Unex ...
https://man.mtool.work/php/8.3/function.mongodb.bson-torelaxedextendedjson.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT