Results of 1 - 10 of about 11 for upsert (0.014 sec.)
- Returns the number of documents inserted by an upsert 13549
- « MongoDB\Driver\WriteResult::getServer MongoDB\Driver\WriteResult::getUpsertedIds » PHP Manual
...
ult Returns the number of documents inserted by an upsert MongoDB\Driver\WriteResult::getUpsertedCount (mong ...
odb >=1.0.0) MongoDB\Driver\WriteResult::getUpsertedCount — Returns the number of documents inserted ...
by an upsert 説明 final public MongoDB\Driver\WriteResult::getU ...
り値 Returns the number of documents inserted by an upsert. エラー / 例外 引数のパースに失敗した場合に MongoD ...
-
https://man.plustar.jp/php/mongodb-driver-writeresult.getupsertedcount.html
- [similar]
- Returns an array of identifiers for upserted documents 11202
- « MongoDB\Driver\WriteResult::getUpsertedCount MongoDB\Driver\WriteResult::getWriteConcernError
...
er\WriteResult Returns an array of identifiers for upserted documents MongoDB\Driver\WriteResult::getUpserte ...
s (mongodb >=1.0.0) MongoDB\Driver\WriteResult::getUpsertedIds — Returns an array of identifiers for upserte ...
s 説明 final public MongoDB\Driver\WriteResult::getUpsertedIds (): array パラメータ この関数にはパラメータは ...
array of identifiers (i.e. "_id" field values) for upserted documents. The array keys will correspond to the ...
-
https://man.plustar.jp/php/mongodb-driver-writeresult.getupsertedids.html
- [similar]
- Returns the number of documents deleted 8588
- « MongoDB\Driver\WriteResult MongoDB\Driver\WriteResult::getInsertedCount » PHP Manual MongoDB\D
...
pdate ([ 'x' => 2 ], [ '$set' => [ 'y' => 1 ]], [ 'upsert' => true ]); $bulk -> update ([ 'x' => 3 ], [ '$se ...
t' => [ 'y' => 2 ]], [ 'upsert' => true ]); $bulk -> delete ([ 'x' => 1 ]); $resu ...
-
https://man.plustar.jp/php/mongodb-driver-writeresult.getdeletedcount.html
- [similar]
- Returns the number of documents inserted (excluding upserts) 8588
- « MongoDB\Driver\WriteResult::getDeletedCount MongoDB\Driver\WriteResult::getMatchedCount » PHP
...
eturns the number of documents inserted (excluding upserts) MongoDB\Driver\WriteResult::getInsertedCount (mo ...
eturns the number of documents inserted (excluding upserts) 説明 final public MongoDB\Driver\WriteResult::ge ...
eturns the number of documents inserted (excluding upserts), or null if the write was not acknowledged. エラ ...
pdate ([ 'x' => 2 ], [ '$set' => [ 'y' => 1 ]], [ 'upsert' => true ]); $bulk -> update ([ 'x' => 3 ], [ '$se ...
-
https://man.plustar.jp/php/mongodb-driver-writeresult.getinsertedcount.html
- [similar]
- Returns the number of documents selected for update 8499
- « MongoDB\Driver\WriteResult::getInsertedCount MongoDB\Driver\WriteResult::getModifiedCount » PH
...
pdate ([ 'x' => 2 ], [ '$set' => [ 'y' => 1 ]], [ 'upsert' => true ]); $bulk -> update ([ 'x' => 3 ], [ '$se ...
t' => [ 'y' => 2 ]], [ 'upsert' => true ]); $bulk -> delete ([ 'x' => 1 ]); $resu ...
-
https://man.plustar.jp/php/mongodb-driver-writeresult.getmatchedcount.html
- [similar]
- Execute one or more write operations 8410
- « MongoDB\Driver\Manager::createClientEncryption MongoDB\Driver\Manager::executeCommand » PHP Ma
...
, [ '$set' => [ 'x' => 1 ]], [ 'multi' => false , 'upsert' => false ]); $bulk -> update ([ 'x' => 3 ], [ '$s ...
et' => [ 'x' => 3 ]], [ 'multi' => false , 'upsert' => true ]); $bulk -> update ([ '_id' => 3 ], [ '$ ...
set' => [ 'x' => 3 ]], [ 'multi' => false , 'upsert' => true ]); $bulk -> insert ([ '_id' => 4 , 'x' = ...
s)\n" , $result -> getModifiedCount ()); printf ( "Upserted %d document(s)\n" , $result -> getUpsertedCount ...
-
https://man.plustar.jp/php/mongodb-driver-manager.executebulkwrite.html
- [similar]
- Returns the number of existing documents updated 8410
- « MongoDB\Driver\WriteResult::getMatchedCount MongoDB\Driver\WriteResult::getServer » PHP Manual
...
pdate ([ 'x' => 2 ], [ '$set' => [ 'y' => 1 ]], [ 'upsert' => true ]); $bulk -> update ([ 'x' => 3 ], [ '$se ...
t' => [ 'y' => 2 ]], [ 'upsert' => true ]); $bulk -> delete ([ 'x' => 1 ]); $resu ...
-
https://man.plustar.jp/php/mongodb-driver-writeresult.getmodifiedcount.html
- [similar]
- Create a new BulkWrite 7948
- « MongoDB\Driver\BulkWrite MongoDB\Driver\BulkWrite::count » PHP Manual MongoDB\Driver\BulkWrite
...
2 ], [ '$set' => [ 'x' => 1 ]], [ 'limit' => 1 , 'upsert' => false ] ); $bulk -> delete ([ 'x' => 1 ], [ 'l ...
3 ], [ '$set' => [ 'x' => 3 ]], [ 'limit' => 1 , 'upsert' => true ] ); $manager = new MongoDB \ Driver \ Ma ...
s)\n" , $result -> getModifiedCount ()); printf ( "Upserted %d document(s)\n" , $result -> getUpsertedCount ...
ます。 Inserted 2 document(s) Updated 1 document(s) Upserted 1 document(s) Deleted 1 document(s) 参考 MongoDB ...
-
https://man.plustar.jp/php/mongodb-driver-bulkwrite.construct.html
- [similar]
- Add an update operation to the bulk 7859
- « MongoDB\Driver\BulkWrite::insert MongoDB\Driver\Session » PHP Manual MongoDB\Driver\BulkWrite
...
be true if newObj is a replacement document. false upsert bool If filter does not match an existing document ...
, [ '$set' => [ 'y' => 3 ]], [ 'multi' => false , 'upsert' => false ] ); $manager = new MongoDB \ Driver \ M ...
-
https://man.plustar.jp/php/mongodb-driver-bulkwrite.update.html
- [similar]
- The MongoDB\Driver\WriteResult class 7592
- « MongoDB\Driver\WriteError::getMessage MongoDB\Driver\WriteResult::getDeletedCount » PHP Manual
...
etServer (): MongoDB\Driver\Server final public getUpsertedCount (): ? int final public getUpsertedIds (): a ...
eturns the number of documents inserted (excluding upserts) MongoDB\Driver\WriteResult::getMatchedCount — Re ...
h this write result MongoDB\Driver\WriteResult::getUpsertedCount — Returns the number of documents inserted ...
by an upsert MongoDB\Driver\WriteResult::getUpsertedIds — Retur ...
-
https://man.plustar.jp/php/class.mongodb-driver-writeresult.html
- [similar]