« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 36 for duplicate (0.001 sec.)
MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON docum... 12726
MongoDB\BSON\Document::toPHP (mongodb >=1.16.0) MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON document 説明 final public function MongoDB\BSON\Document::toPHP ( ? array $typeMap = null ): array | object Unseriali ... types used for converting BSON arrays and documents (both root and embedded). 警告 BSON documents can technically contain duplicate keys because documents are stored as a list of key-value pairs; however, applications should refrain from generating docum ... ents with duplicate keys as server and driver behavior may be undefined. Since PHP objects and arrays cannot have duplicate keys, data could a ... lso be lost when decoding a BSON document with duplicate keys. パラメータ typeMap ( array ) Type map configuration . 戻り値 The decoded PHP value. 注意 : When encountering a value ...
https://man.mtool.work/php/8.3/mongodb-bson-document.tophp.html
fann_duplicate_train_data — Returns an exact copy of a fann train data | PHP 8.... 11870
fann_duplicate_train_data (PECL fann >= 1.0.0) fann_duplicate_train_data — Returns an exact copy of a fann train data 説明 function fann_duplicate_train_data ( resource $data ): resource Returns an exact copy of a fann train data resource . ...
https://man.mtool.work/php/8.3/function.fann-duplicate-train-data.html
MongoDB\BSON\toPHP — Returns the PHP representation of a BSON value | PHP 8.3 10872
MongoDB\BSON\toPHP (mongodb >=1.0.0) MongoDB\BSON\toPHP — Returns the PHP 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\Docu ... types used for converting BSON arrays and documents (both root and embedded). 警告 BSON documents can technically contain duplicate keys because documents are stored as a list of key-value pairs; however, applications should refrain from generating docum ... ents with duplicate keys as server and driver behavior may be undefined. Since PHP objects and arrays cannot have duplicate keys, data could a ... lso be lost when decoding a BSON document with duplicate keys. パラメータ bson ( string ) BSON value to be unserialized. typeMap ( array ) Type map configuration . 戻り値 The unse ...
https://man.mtool.work/php/8.3/function.mongodb.bson-tophp.html
The MongoDB\Driver\BulkWrite class | PHP 8.3 9445
The MongoDB\Driver\BulkWrite class (mongodb >=1.0.0) はじめに The MongoDB\Driver\BulkWrite collects one or more write operations that should be sent to the server. After adding any number of insert, update, and delete operations, the collec ... intf ( "Updated %d document(s)\n" , $result -> getModifiedCount ()); ?> 上の例の出力は以下となります。 Operation#7: E11000 duplicate key error index: db.collection.$_id_ dup key: { : 3 } (11000) Inserted 4 document(s) Updated 2 document(s) If the write co ... ove would output something like: waiting for replication timed out (64): array ( 'wtimeout' => true, ) Operation#7: E11000 duplicate key error index: databaseName.collectionName.$_id_ dup key: { : 3 } (11000) Inserted 4 document(s) Updated 2 document(s) I ... k = new MongoDB\Driver\BulkWrite ([ 'ordered' => false ]); /* ... */ ?> 上の例の出力は以下となります。 Operation#7: E11000 duplicate key error index: db.collection.$_id_ dup key: { : 3 } (11000) Operation#8: E11000 duplicate key error index: db.collection ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwrite.html
fann_subset_train_data — Returns an copy of a subset of the train data | PHP 8.... 9303
fann_subset_train_data (PECL fann >= 1.0.0) fann_subset_train_data — Returns an copy of a subset of the train data 説明 function fann_subset_train_data ( resource $data , int $pos , int $length ): resource Returns an copy of a subset of the ... length elements forward. The fann_subset_train_data(train_data, 0, fann_length_train_data(train_data)) do the same as fann_duplicate_train_data() パラメータ data ニューラルネットワークトレーニングリソース。 pos Starting position. length The number of copi ... ed elements. 戻り値 成功した場合にニューラルネットワークトレーニングリソース、エラー時に false を返します。 参考 fann_duplicate_train_data() - Returns an exact copy of a fann train data 他のマニュアルの関連ページ DuckDB WHERE Clause DuckDB List Funct ...
https://man.mtool.work/php/8.3/function.fann-subset-train-data.html
runkit7_function_copy — Copy a function to a new function name | PHP 8.3 9303
runkit7_function_copy (PECL runkit7 >= Unknown) runkit7_function_copy — Copy a function to a new function name 説明 function runkit7_function_copy ( string $source_name , string $target_name ): bool パラメータ source_name Name of the existi ... kit7_function_copy() example <?php function original () { echo "In a function\n" ; } runkit7_function_copy ( 'original' , 'duplicate' ); original (); duplicate (); ?> 上の例の出力は以下となります。 In a function In a function 参考 runkit7_function_add() - ...
https://man.mtool.work/php/8.3/function.runkit7-function-copy.html
MongoDB\Driver\WriteResult::getWriteErrors — Returns any write errors that occu... 9160
MongoDB\Driver\WriteResult::getWriteErrors (mongodb >=1.0.0) MongoDB\Driver\WriteResult::getWriteErrors — Returns any write errors that occurred 説明 final public function MongoDB\Driver\WriteResult::getWriteErrors (): array パラメータ この ... たとえば以下のようになります。 array(1) { [0]=> object(MongoDB\Driver\WriteError)#5 (4) { ["message"]=> string(81) "E11000 duplicate key error collection: db.collection index: _id_ dup key: { : 2 }" ["code"]=> int(11000) ["index"]=> int(2) ["info"]=> NULL ... たとえば以下のようになります。 array(2) { [0]=> object(MongoDB\Driver\WriteError)#5 (4) { ["message"]=> string(81) "E11000 duplicate key error collection: db.collection index: _id_ dup key: { : 2 }" ["code"]=> int(11000) ["index"]=> int(2) ["info"]=> NULL ... } [1]=> object(MongoDB\Driver\WriteError)#6 (4) { ["message"]=> string(81) "E11000 duplicate key error collection: db.collection index: _id_ dup key: { : 4 }" ["code"]=> int(11000) ["index"]=> int(5) ["info"]=> NULL ...
https://man.mtool.work/php/8.3/mongodb-driver-writeresult.getwriteerrors.html
QuickHashIntHash::update — This method updates an entry in the hash with a new ... 9160
QuickHashIntHash::update (PECL quickhash >= Unknown) QuickHashIntHash::update — This method updates an entry in the hash with a new value 説明 public function QuickHashIntHash::update ( int $key , int $value ): bool This method updates an e ... ntry with a new value, and returns whether the entry was update. If there are duplicate keys, only the first found element will get an updated value. Use QuickHashIntHash::CHECK_FOR_DUPES during hash creation t ... o prevent duplicate keys from being part of the hash. パラメータ key The key of the entry to update. value The new value to update the entry w ...
https://man.mtool.work/php/8.3/quickhashinthash.update.html
QuickHashIntStringHash::update — This method updates an entry in the hash with ... 8875
QuickHashIntStringHash::update (PECL quickhash >= Unknown) QuickHashIntStringHash::update — This method updates an entry in the hash with a new value 説明 public function QuickHashIntStringHash::update ( int $key , string $value ): bool Thi ... s method updates an entry with a new value, and returns whether the entry was update. If there are duplicate keys, only the first found element will get an updated value. Use QuickHashIntStringHash::CHECK_FOR_DUPES during hash crea ... tion to prevent duplicate keys from being part of the hash. パラメータ key The key of the entry to update. value The new value for the entry. If a n ...
https://man.mtool.work/php/8.3/quickhashintstringhash.update.html
QuickHashIntHash::set — This method updates an entry in the hash with a new val... 8732
QuickHashIntHash::set (PECL quickhash >= Unknown) QuickHashIntHash::set — This method updates an entry in the hash with a new value, or adds a new one if the entry doesn't exist 説明 public function QuickHashIntHash::set ( int $key , int $v ... e entry did not yet exist, it will instead add a new entry. It returns whether the entry was added or update. If there are duplicate keys, only the first found element will get an updated value. Use QuickHashIntHash::CHECK_FOR_DUPES during hash creation t ... o prevent duplicate keys from being part of the hash. パラメータ key The key of the entry to add or update. value The new value to set the ent ...
https://man.mtool.work/php/8.3/quickhashinthash.set.html
PREV 1 2 3 4 NEXT