« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 16 for collectionName (0.001 sec.)
The MongoDB\Driver\Command class | PHP 8.3 13828
The MongoDB\Driver\Command class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Command class is a value object that represents a database command. To provide Command Helpers the MongoDB\Driver\Command object should be composed. クラス概要 f ... to provide a helper to create collections <?php class CreateCollection { protected $cmd = array(); function __construct ( $collectionName ) { $this -> cmd [ "create" ] = (string) $collectionName ; } function setCappedCollection ( $maxBytes , $maxDocuments = fa ... [ "flags" ] = (int) $flags ; } function getCommand () { return new MongoDB\Driver\Command ( $this -> cmd ); } function getCollectionName () { return $this -> cmd [ "create" ]; } } $manager = new MongoDB\Driver\Manager ( "mongodb://localhost:27017" ); $createC ... d ); $response = $cursor -> toArray ()[ 0 ]; var_dump ( $response ); $collstats = [ "collstats" => $createCollection -> getCollectionName ()]; $cursor = $manager -> executeCommand ( "databaseName" , new MongoDB\Driver\Command ( $collstats )); $response = $curs ...
https://man.mtool.work/php/8.3/class.mongodb-driver-command.html
MongoDB\Driver\BulkWriteCommand::insertOne — Add an insertOne operation | PHP 8... 9634
MongoDB\Driver\BulkWriteCommand::insertOne (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::insertOne — Add an insertOne operation 説明 public function MongoDB\Driver\BulkWriteCommand::insertOne ( string $namespace , array | object $docum ... o the collection identified by namespace . パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). document ( array | object ) A document to insert. 戻り値 Returns the _id of the inserted document. If the document did ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.insertone.html
MongoDB\Driver\Server::executeQuery — Execute a database query on this server |... 9634
MongoDB\Driver\Server::executeQuery (mongodb >=1.0.0) MongoDB\Driver\Server::executeQuery — Execute a database query on this server 説明 final public function MongoDB\Driver\Server::executeQuery ( string $namespace , MongoDB\Driver\Query $q ... preference to the operation, respectively. パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). query ( MongoDB\Driver\Query ) The query to execute. options options Option Type Description readPreference MongoDB\Dr ...
https://man.mtool.work/php/8.3/mongodb-driver-server.executequery.html
MongoDB\Driver\BulkWriteCommand::deleteMany — Add a deleteMany operation | PHP ... 9028
MongoDB\Driver\BulkWriteCommand::deleteMany (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::deleteMany — Add a deleteMany operation 説明 public function MongoDB\Driver\BulkWriteCommand::deleteMany ( string $namespace , array | object $fi ... n identified by namespace will be deleted. パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). filter ( array | object ) The » query predicate . An empty predicate will match all documents in the collection. 注意 ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.deletemany.html
MongoDB\Driver\BulkWriteCommand::deleteOne — Add a deleteOne operation | PHP 8.... 9028
MongoDB\Driver\BulkWriteCommand::deleteOne (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::deleteOne — Add a deleteOne operation 説明 public function MongoDB\Driver\BulkWriteCommand::deleteOne ( string $namespace , array | object $filter ... n identified by namespace will be deleted. パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). filter ( array | object ) The » query predicate . An empty predicate will match all documents in the collection. 注意 ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.deleteone.html
MongoDB\Driver\BulkWriteCommand::replaceOne — Add a replaceOne operation | PHP ... 9028
MongoDB\Driver\BulkWriteCommand::replaceOne (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::replaceOne — Add a replaceOne operation 説明 public function MongoDB\Driver\BulkWriteCommand::replaceOne ( string $namespace , array | object $fi ... identified by namespace will be replaced. パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). filter ( array | object ) The » query predicate . An empty predicate will match all documents in the collection. 注意 ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.replaceone.html
MongoDB\Driver\BulkWriteCommand::updateMany — Add an updateMany operation | PHP... 9028
MongoDB\Driver\BulkWriteCommand::updateMany (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::updateMany — Add an updateMany operation 説明 public function MongoDB\Driver\BulkWriteCommand::updateMany ( string $namespace , array | object $f ... n identified by namespace will be updated. パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). filter ( array | object ) The » query predicate . An empty predicate will match all documents in the collection. 注意 ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.updatemany.html
MongoDB\Driver\Server::executeBulkWrite — Execute one or more write operations ... 9028
MongoDB\Driver\Server::executeBulkWrite (mongodb >=1.0.0) MongoDB\Driver\Server::executeBulkWrite — Execute one or more write operations on this server 説明 final public function MongoDB\Driver\Server::executeBulkWrite ( string $namespace , ... option), followed by the connection URI . パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). bulk ( MongoDB\Driver\BulkWrite ) The write(s) to execute. options options Option Type Description session MongoDB\Dri ...
https://man.mtool.work/php/8.3/mongodb-driver-server.executebulkwrite.html
MongoDB\Driver\BulkWriteCommand::updateOne — Add an updateOne operation | PHP 8... 8439
MongoDB\Driver\BulkWriteCommand::updateOne (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::updateOne — Add an updateOne operation 説明 public function MongoDB\Driver\BulkWriteCommand::updateOne ( string $namespace , array | object $filte ... n identified by namespace will be updated. パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). filter ( array | object ) The » query predicate . An empty predicate will match all documents in the collection. 注意 ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.updateone.html
MongoDB\Driver\ClientEncryption::__construct — Create a new ClientEncryption ob... 8439
MongoDB\Driver\ClientEncryption::__construct (mongodb >=1.14.0) MongoDB\Driver\ClientEncryption::__construct — Create a new ClientEncryption object 説明 final public function MongoDB\Driver\ClientEncryption::__construct ( array $options ) C ... ngoDB\Driver\Manager::createClientEncryption() ). keyVaultNamespace string A fully qualified namespace (e.g. "databaseName.collectionName" ) denoting the collection that contains all data keys used for encryption and decryption. This option is required. kmsPro ...
https://man.mtool.work/php/8.3/mongodb-driver-clientencryption.construct.html
PREV 1 2 NEXT