« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 32 for collectionName (0.003 sec.)
The MongoDB\Driver\Command class 15062
« MongoDB\Driver\Manager::startSession MongoDB\Driver\Command::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\Command class 検索 The MongoDB\Driver\Command class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Command class is a v ... 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
The MongoDB\Driver\Command class 11663
« MongoDB\Driver\Manager::startSession MongoDB\Driver\Command::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\Command class 検索 The MongoDB\Driver\Command class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Command class is a v ... 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
Add an insertOne operation 8715
« MongoDB\Driver\BulkWriteCommand::deleteOne MongoDB\Driver\BulkWriteCommand::replaceOne » PHP Manual MongoDB\Driver\BulkWriteCommand Add an insertOne operation 検索 MongoDB\Driver\BulkWriteCommand::insertOne (mongodb >=2.1.0) MongoDB\Drive ... 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
Add an insertOne operation 8715
« MongoDB\Driver\BulkWriteCommand::deleteOne MongoDB\Driver\BulkWriteCommand::replaceOne » PHP Manual MongoDB\Driver\BulkWriteCommand Add an insertOne operation 検索 MongoDB\Driver\BulkWriteCommand::insertOne (mongodb >=2.1.0) MongoDB\Drive ... 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
Add a deleteMany operation 8280
« MongoDB\Driver\BulkWriteCommand::count MongoDB\Driver\BulkWriteCommand::deleteOne » PHP Manual MongoDB\Driver\BulkWriteCommand Add a deleteMany operation 検索 MongoDB\Driver\BulkWriteCommand::deleteMany (mongodb >=2.1.0) MongoDB\Driver\Bu ... 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. 注意 ... ver\BulkWriteCommandResult 関連キーワード: MongoDB Driver BulkWriteCommand deleteMany operation collation string Add array collection namespace object query comparison rules specified deleteOne filter options index ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.deletemany.html
Add a deleteOne operation 8280
« MongoDB\Driver\BulkWriteCommand::deleteMany MongoDB\Driver\BulkWriteCommand::insertOne » PHP Manual MongoDB\Driver\BulkWriteCommand Add a deleteOne operation 検索 MongoDB\Driver\BulkWriteCommand::deleteOne (mongodb >=2.1.0) MongoDB\Driver ... 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. 注意 ... iver\BulkWriteCommandResult 関連キーワード: MongoDB Driver BulkWriteCommand deleteOne operation collation string Add array collection namespace object query comparison rules specified deleteMany filter options index ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.deleteone.html
Add a replaceOne operation 8280
« MongoDB\Driver\BulkWriteCommand::insertOne MongoDB\Driver\BulkWriteCommand::updateMany » PHP Manual MongoDB\Driver\BulkWriteCommand Add a replaceOne operation 検索 MongoDB\Driver\BulkWriteCommand::replaceOne (mongodb >=2.1.0) MongoDB\Driv ... 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
Execute a database query on this server 8280
« MongoDB\Driver\Server::executeCommand MongoDB\Driver\Server::executeReadCommand » PHP Manual MongoDB\Driver\Server Execute a database query on this server 検索 MongoDB\Driver\Server::executeQuery (mongodb >=1.0.0) MongoDB\Driver\Server::e ... 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
Add a deleteMany operation 8280
« MongoDB\Driver\BulkWriteCommand::count MongoDB\Driver\BulkWriteCommand::deleteOne » PHP Manual MongoDB\Driver\BulkWriteCommand Add a deleteMany operation 検索 MongoDB\Driver\BulkWriteCommand::deleteMany (mongodb >=2.1.0) MongoDB\Driver\Bu ... 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. 注意 ... mmand MongoDB\Driver\BulkWriteCommandResult 関連キーワード: MongoDB Driver BulkWriteCommand deleteMany operation collation collection namespace query comparison rules specified deleteOne filter options index bulk documents matching predicate match criteria typ ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.deletemany.html
Add a deleteOne operation 8280
« MongoDB\Driver\BulkWriteCommand::deleteMany MongoDB\Driver\BulkWriteCommand::insertOne » PHP Manual MongoDB\Driver\BulkWriteCommand Add a deleteOne operation 検索 MongoDB\Driver\BulkWriteCommand::deleteOne (mongodb >=2.1.0) MongoDB\Driver ... 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. 注意 ... ommand MongoDB\Driver\BulkWriteCommandResult 関連キーワード: MongoDB Driver BulkWriteCommand deleteOne operation collation collection namespace query comparison rules specified deleteMany filter options index bulk matching predicate match criteria types type O ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.deleteone.html
PREV 1 2 3 4 NEXT