« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 117 for BulkWrite (0.002 sec.)
Count number of write operations in the bulk 10850
« MongoDB\Driver\BulkWrite::__construct MongoDB\Driver\BulkWrite::delete » PHP Manual MongoDB\Driver\BulkWrite Count number of write operations in the bulk 検索 MongoDB\Driver\BulkWrite::count (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::cou ... nt — Count number of write operations in the bulk 説明 public function MongoDB\Driver\BulkWrite::count (): int Returns the number of write operations added to the MongoDB\Driver\BulkWrite object. パラメータ この関数には ... パラメータはありません。 戻り値 Returns number of write operations added to the MongoDB\Driver\BulkWrite object. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 変更履歴 バージ ... ョン 説明 PECL mongodb 1.2.0 Returns the number of write operations added to the MongoDB\Driver\BulkWrite object. Earlier versions returned the expected number of client-to-server roundtrips required to execute all write operati ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.count.html
Count number of write operations in the bulk 10850
« MongoDB\Driver\BulkWrite::__construct MongoDB\Driver\BulkWrite::delete » PHP Manual MongoDB\Driver\BulkWrite Count number of write operations in the bulk 検索 MongoDB\Driver\BulkWrite::count (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::cou ... nt — Count number of write operations in the bulk 説明 public function MongoDB\Driver\BulkWrite::count (): int Returns the number of write operations added to the MongoDB\Driver\BulkWrite object. パラメータ この関数には ... パラメータはありません。 戻り値 Returns number of write operations added to the MongoDB\Driver\BulkWrite object. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 変更履歴 バージ ... ョン 説明 PECL mongodb 1.2.0 Returns the number of write operations added to the MongoDB\Driver\BulkWrite object. Earlier versions returned the expected number of client-to-server roundtrips required to execute all write operati ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.count.html
The MongoDB\Driver\BulkWrite class 9650
« MongoDB\Driver\Query::__construct MongoDB\Driver\BulkWrite::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\BulkWrite class 検索 The MongoDB\Driver\BulkWrite class (mongodb >=1.0.0) はじめに The MongoDB\Driver\BulkWrite collect ... ing any number of insert, update, and delete operations, the collection may be executed via MongoDB\Driver\Manager::executeBulkWrite() . Write operations may either be ordered (default) or unordered. Ordered write operations are sent to the server, in the ... rallel. Any errors that occur are reported after all operations have been attempted. クラス概要 final class MongoDB\Driver\BulkWrite implements Countable { /* メソッド */ public function __construct ( ? array $options = null ) public function count (): in ... letes) will be assembled into typed write commands to be sent sequentially to the server. <?php $bulk = new MongoDB\Driver\BulkWrite ([ 'ordered' => true ]); $bulk -> insert ([ '_id' => 1 , 'x' => 1 ]); $bulk -> insert ([ '_id' => 2 , 'x' => 2 ]); $bulk - ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwrite.html
The MongoDB\Driver\BulkWrite class 9600
« MongoDB\Driver\Query::__construct MongoDB\Driver\BulkWrite::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\BulkWrite class 検索 The MongoDB\Driver\BulkWrite class (mongodb >=1.0.0) はじめに The MongoDB\Driver\BulkWrite collect ... ing any number of insert, update, and delete operations, the collection may be executed via MongoDB\Driver\Manager::executeBulkWrite() . Write operations may either be ordered (default) or unordered. Ordered write operations are sent to the server, in the ... rallel. Any errors that occur are reported after all operations have been attempted. クラス概要 final class MongoDB\Driver\BulkWrite implements Countable { /* メソッド */ public function __construct ( ? array $options = null ) public function count (): in ... letes) will be assembled into typed write commands to be sent sequentially to the server. <?php $bulk = new MongoDB\Driver\BulkWrite ([ 'ordered' => true ]); $bulk -> insert ([ '_id' => 1 , 'x' => 1 ]); $bulk -> insert ([ '_id' => 2 , 'x' => 2 ]); $bulk - ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwrite.html
Add an insert operation to the bulk 9562
« MongoDB\Driver\BulkWrite::delete MongoDB\Driver\BulkWrite::update » PHP Manual MongoDB\Driver\BulkWrite Add an insert operation to the bulk 検索 MongoDB\Driver\BulkWrite::insert (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::insert — Add an ... insert operation to the bulk 説明 public function MongoDB\Driver\BulkWrite::insert ( array | object $document ): mixed Adds an insert operation to the MongoDB\Driver\BulkWrite . パラメータ document ... ays returned. Previously, the method only returned a value if a MongoDB\BSON\ObjectId was generated. 例 例1 MongoDB\Driver\BulkWrite::insert() example <?php $bulk = new MongoDB\Driver\BulkWrite ; $doc1 = [ 'x' => 1 ]; $doc2 = [ '_id' => 'custom-id' , 'x' ... $id1 , $id2 , $id3 ); $manager = new MongoDB\Driver\Manager ( 'mongodb://localhost:27017' ); $result = $manager -> executeBulkWrite ( 'db.collection' , $bulk ); ?> 上の例の出力は、 たとえば以下のようになります。 object(MongoDB\BSON\ObjectId)#3 (1) { ["oi ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.insert.html
Add an insert operation to the bulk 9512
« MongoDB\Driver\BulkWrite::delete MongoDB\Driver\BulkWrite::update » PHP Manual MongoDB\Driver\BulkWrite Add an insert operation to the bulk 検索 MongoDB\Driver\BulkWrite::insert (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::insert — Add an ... insert operation to the bulk 説明 public function MongoDB\Driver\BulkWrite::insert ( array | object $document ): mixed Adds an insert operation to the MongoDB\Driver\BulkWrite . パラメータ document ... ays returned. Previously, the method only returned a value if a MongoDB\BSON\ObjectId was generated. 例 例1 MongoDB\Driver\BulkWrite::insert() example <?php $bulk = new MongoDB\Driver\BulkWrite ; $doc1 = [ 'x' => 1 ]; $doc2 = [ '_id' => 'custom-id' , 'x' ... $id1 , $id2 , $id3 ); $manager = new MongoDB\Driver\Manager ( 'mongodb://localhost:27017' ); $result = $manager -> executeBulkWrite ( 'db.collection' , $bulk ); ?> 上の例の出力は、 たとえば以下のようになります。 object(MongoDB\BSON\ObjectId)#3 (1) { ["oi ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.insert.html
Create a new BulkWrite 9200
« MongoDB\Driver\BulkWrite MongoDB\Driver\BulkWrite::count » PHP Manual MongoDB\Driver\BulkWrite Create a new BulkWrite 検索 MongoDB\Driver\BulkWrite::__construct (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite ... ite 説明 public function MongoDB\Driver\BulkWrite::__construct ( ? array $options = null ) Constructs a new MongoDB\Driver\BulkWrite , which is a mutable object to which on ... e or more write operations may be added. The write(s) may then be executed with MongoDB\Driver\Manager::executeBulkWrite() . パラメータ options ( array ) options Option Type Description Default bypassDocumentValidation bool If true , allows in ... ded the "comment" and "let" options. PECL mongodb 1.1.0 Added the "bypassDocumentValidation" option. 例 例1 MongoDB\Driver\BulkWrite::__construct() example <?php $bulk = new MongoDB\Driver\BulkWrite ([ 'ordered' => true ]); $bulk -> delete ([]); $bulk -> ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.construct.html
Create a new BulkWrite 9200
« MongoDB\Driver\BulkWrite MongoDB\Driver\BulkWrite::count » PHP Manual MongoDB\Driver\BulkWrite Create a new BulkWrite 検索 MongoDB\Driver\BulkWrite::__construct (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite ... ite 説明 public function MongoDB\Driver\BulkWrite::__construct ( ? array $options = null ) Constructs a new MongoDB\Driver\BulkWrite , which is a mutable object to which on ... e or more write operations may be added. The write(s) may then be executed with MongoDB\Driver\Manager::executeBulkWrite() . パラメータ options ( array ) options Option Type Description Default bypassDocumentValidation bool If true , allows in ... ded the "comment" and "let" options. PECL mongodb 1.1.0 Added the "bypassDocumentValidation" option. 例 例1 MongoDB\Driver\BulkWrite::__construct() example <?php $bulk = new MongoDB\Driver\BulkWrite ([ 'ordered' => true ]); $bulk -> delete ([]); $bulk -> ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.construct.html
Add a delete operation to the bulk 9162
« MongoDB\Driver\BulkWrite::count MongoDB\Driver\BulkWrite::insert » PHP Manual MongoDB\Driver\BulkWrite Add a delete operation to the bulk 検索 MongoDB\Driver\BulkWrite::delete (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::delete — Add a del ... ete operation to the bulk 説明 public function MongoDB\Driver\BulkWrite::delete ( array | object $filter , ? array $deleteOptions = null ): void Adds a delete operation to the MongoDB\Driver\Bul ... ョン 説明 PECL mongodb 1.8.0 Added the "hint" option. PECL mongodb 1.2.0 Added the "collation" option. 例 例1 MongoDB\Driver\BulkWrite::delete() example <?php $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> delete ([ 'x' => 1 ], [ 'limit' => 1 ]); $bulk -> ... ], [ 'limit' => 0 ]); $manager = new MongoDB\Driver\Manager ( 'mongodb://localhost:27017' ); $result = $manager -> executeBulkWrite ( 'db.collection' , $bulk ); ?> 参考 MongoDB\Driver\Manager::executeBulkWrite() - Execute one or more write operations Mon ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.delete.html
Add a delete operation to the bulk 9162
« MongoDB\Driver\BulkWrite::count MongoDB\Driver\BulkWrite::insert » PHP Manual MongoDB\Driver\BulkWrite Add a delete operation to the bulk 検索 MongoDB\Driver\BulkWrite::delete (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::delete — Add a del ... ete operation to the bulk 説明 public function MongoDB\Driver\BulkWrite::delete ( array | object $filter , ? array $deleteOptions = null ): void Adds a delete operation to the MongoDB\Driver\Bul ... ョン 説明 PECL mongodb 1.8.0 Added the "hint" option. PECL mongodb 1.2.0 Added the "collation" option. 例 例1 MongoDB\Driver\BulkWrite::delete() example <?php $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> delete ([ 'x' => 1 ], [ 'limit' => 1 ]); $bulk -> ... ], [ 'limit' => 0 ]); $manager = new MongoDB\Driver\Manager ( 'mongodb://localhost:27017' ); $result = $manager -> executeBulkWrite ( 'db.collection' , $bulk ); ?> 参考 MongoDB\Driver\Manager::executeBulkWrite() - Execute one or more write operations Mon ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.delete.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT