« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 135 for ObjectId (0.004 sec.)
Construct a new ObjectId 10205
« MongoDB\BSON\ObjectId MongoDB\BSON\ObjectId::getTimestamp » PHP Manual MongoDB\BSON\ObjectId Construct a new ObjectId 検索 MongoDB\BSON\ObjectId::__construct (mongodb >=1.0.0) MongoDB\BSON\ObjectId::__construct — Construct a new ObjectId ... 説明 final public function MongoDB\BSON\ObjectId::__construct ( ? string $id = null ) パラメータ id ( string ) A 24-character hexadecimal string. If not provided, the exte ... nsion will generate an ObjectId. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. Throws MongoDB\Driver\ ... Exception\InvalidArgumentException if id is not a 24-character hexadecimal string. 例 例1 MongoDB\BSON\ObjectId::__construct() example <?php var_dump (new MongoDB\BSON\ObjectId ()); var_dump (new MongoDB\BSON\ObjectId ( '0000000000000 ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.construct.html
The MongoDB\BSON\ObjectId class 10169
« MongoDB\BSON\MinKey::jsonSerialize MongoDB\BSON\ObjectId::__construct » PHP Manual MongoDB\BSON The MongoDB\BSON\ObjectId class 検索 The MongoDB\BSON\ObjectId class (mongodb >=1.0.0) はじめに BSON type for an » ObjectId . The value consis ... ts of 12 bytes, where the first four bytes are a timestamp that reflect the ObjectId's creation. Specifically, the value consists of: a 4-byte value representing the seconds since the Unix epoch, a 5-byte ra ... id field that acts as a primary key. If an inserted document omits the _id field, the extension automatically generates an ObjectId for the _id field. Using ObjectIds for the _id field provides the following additional benefits: The creation time of the ... ObjectId may be accessed using the MongoDB\BSON\ObjectId::getTimestamp() method. Sorting on an _id field that stores ObjectId values is roughly equivalent to sorting by creation t ...
https://man.mtool.work/php/8.3/class.mongodb-bson-objectid.html
The MongoDB\BSON\ObjectId class 10169
« MongoDB\BSON\MinKey::jsonSerialize MongoDB\BSON\ObjectId::__construct » PHP Manual MongoDB\BSON The MongoDB\BSON\ObjectId class 検索 The MongoDB\BSON\ObjectId class (mongodb >=1.0.0) はじめに BSON type for an » ObjectId . The value consis ... ts of 12 bytes, where the first four bytes are a timestamp that reflect the ObjectId's creation. Specifically, the value consists of: a 4-byte value representing the seconds since the Unix epoch, a 5-byte ra ... id field that acts as a primary key. If an inserted document omits the _id field, the extension automatically generates an ObjectId for the _id field. Using ObjectIds for the _id field provides the following additional benefits: The creation time of the ... ObjectId may be accessed using the MongoDB\BSON\ObjectId::getTimestamp() method. Sorting on an _id field that stores ObjectId values is roughly equivalent to sorting by creation t ...
https://man.mtool.work/php/8.3/class.mongodb-bson-objectid.html
Construct a new ObjectId 10169
« MongoDB\BSON\ObjectId MongoDB\BSON\ObjectId::getTimestamp » PHP Manual MongoDB\BSON\ObjectId Construct a new ObjectId 検索 MongoDB\BSON\ObjectId::__construct (mongodb >=1.0.0) MongoDB\BSON\ObjectId::__construct — Construct a new ObjectId ... 説明 final public function MongoDB\BSON\ObjectId::__construct ( ? string $id = null ) パラメータ id ( string ) A 24-character hexadecimal string. If not provided, the exte ... nsion will generate an ObjectId. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. Throws MongoDB\Driver\ ... Exception\InvalidArgumentException if id is not a 24-character hexadecimal string. 例 例1 MongoDB\BSON\ObjectId::__construct() example <?php var_dump (new MongoDB\BSON\ObjectId ()); var_dump (new MongoDB\BSON\ObjectId ( '0000000000000 ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.construct.html
Returns the timestamp component of this ObjectId 9989
« MongoDB\BSON\ObjectId::__construct MongoDB\BSON\ObjectId::jsonSerialize » PHP Manual MongoDB\BSON\ObjectId Returns the timestamp component of this ObjectId 検索 MongoDB\BSON\ObjectId::getTimestamp (mongodb >=1.2.0) MongoDB\BSON\ObjectId:: ... getTimestamp — Returns the timestamp component of this ObjectId 説明 final public function MongoDB\BSON\ObjectId::getTimestamp (): int The timestamp component of an ObjectId is its most ... the unsigned decimal value. パラメータ この関数にはパラメータはありません。 戻り値 Returns the timestamp component of this ObjectId. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\BSON\Ob ... jectId::getTimestamp() example <?php var_dump ((new MongoDB\BSON\ObjectId ())-> getTimestamp ()); var_dump ((new MongoDB\BSON\ObjectId ( '0000002a0000000000000000' ))-> getTimestamp ()); ?> 上の例 ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.gettimestamp.html
Returns the hexadecimal representation of this ObjectId 9989
« MongoDB\BSON\ObjectId::jsonSerialize MongoDB\BSON\Regex » PHP Manual MongoDB\BSON\ObjectId Returns the hexadecimal representation of this ObjectId 検索 MongoDB\BSON\ObjectId::__toString (mongodb >=1.0.0) MongoDB\BSON\ObjectId::__toString ... — Returns the hexadecimal representation of this ObjectId 説明 final public function MongoDB\BSON\ObjectId::__toString (): string パラメータ この関数にはパラメータはありません。 戻 ... り値 Returns the hexadecimal representation of this ObjectId. 例 例1 MongoDB\BSON\ObjectId::__toString() example <?php var_dump ((string) new MongoDB\BSON\ObjectId ()); var_dump ((str ... ing) new MongoDB\BSON\ObjectId ( '000000000000000000000001' )); ?> 上の例の出力は、 たとえば以下のようになります。 string(24) "56731b49da14d8747d701211" ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.tostring.html
Returns the timestamp component of this ObjectId 9989
« MongoDB\BSON\ObjectId::__construct MongoDB\BSON\ObjectId::jsonSerialize » PHP Manual MongoDB\BSON\ObjectId Returns the timestamp component of this ObjectId 検索 MongoDB\BSON\ObjectId::getTimestamp (mongodb >=1.2.0) MongoDB\BSON\ObjectId:: ... getTimestamp — Returns the timestamp component of this ObjectId 説明 final public function MongoDB\BSON\ObjectId::getTimestamp (): int The timestamp component of an ObjectId is its most ... the unsigned decimal value. パラメータ この関数にはパラメータはありません。 戻り値 Returns the timestamp component of this ObjectId. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\BSON\Ob ... jectId::getTimestamp() example <?php var_dump ((new MongoDB\BSON\ObjectId ())-> getTimestamp ()); var_dump ((new MongoDB\BSON\ObjectId ( '0000002a0000000000000000' ))-> getTimestamp ()); ?> 上の例 ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.gettimestamp.html
Returns the hexadecimal representation of this ObjectId 9989
« MongoDB\BSON\ObjectId::jsonSerialize MongoDB\BSON\Regex » PHP Manual MongoDB\BSON\ObjectId Returns the hexadecimal representation of this ObjectId 検索 MongoDB\BSON\ObjectId::__toString (mongodb >=1.0.0) MongoDB\BSON\ObjectId::__toString ... — Returns the hexadecimal representation of this ObjectId 説明 final public function MongoDB\BSON\ObjectId::__toString (): string パラメータ この関数にはパラメータはありません。 戻 ... り値 Returns the hexadecimal representation of this ObjectId. 例 例1 MongoDB\BSON\ObjectId::__toString() example <?php var_dump ((string) new MongoDB\BSON\ObjectId ()); var_dump ((str ... ing) new MongoDB\BSON\ObjectId ( '000000000000000000000001' )); ?> 上の例の出力は、 たとえば以下のようになります。 string(24) "56731b49da14d8747d701211" ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.tostring.html
Returns a representation that can be converted to JSON 8292
« MongoDB\BSON\ObjectId::getTimestamp MongoDB\BSON\ObjectId::__toString » PHP Manual MongoDB\BSON\ObjectId Returns a representation that can be converted to JSON 検索 MongoDB\BSON\ObjectId::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\ObjectId ... tId::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\ObjectId::jsonSerialize (): mixed パラメータ この関数にはパラメータはありません。 戻り値 Returns data which can be serialized by js ... on_encode() to produce an extended JSON representation of the MongoDB\BSON\ObjectId . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended ... dJSON() - Returns the Relaxed Extended JSON representation of a BSON value » MongoDB Extended JSON 関連キーワード: MongoDB ObjectId Returns representation jsonSerialize converted extended Extended function パラメータ json encode toRelaxedExtendedJSON toC ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.jsonserialize.html
Returns a representation that can be converted to JSON 8292
« MongoDB\BSON\ObjectId::getTimestamp MongoDB\BSON\ObjectId::__toString » PHP Manual MongoDB\BSON\ObjectId Returns a representation that can be converted to JSON 検索 MongoDB\BSON\ObjectId::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\ObjectId ... tId::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\ObjectId::jsonSerialize (): mixed パラメータ この関数にはパラメータはありません。 戻り値 Returns data which can be serialized by js ... on_encode() to produce an extended JSON representation of the MongoDB\BSON\ObjectId . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended ... dJSON() - Returns the Relaxed Extended JSON representation of a BSON value » MongoDB Extended JSON 関連キーワード: MongoDB ObjectId representation jsonSerialize converted extended Extended json encode toRelaxedExtendedJSON toCanonicalExtendedJSON getTime ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.jsonserialize.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT