« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for setCappedCollection (0.001 sec.)
The MongoDB\Driver\Command class 11228
« 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 ... md = array(); function __construct ( $collectionName ) { $this -> cmd [ "create" ] = (string) $collectionName ; } function setCappedCollection ( $maxBytes , $maxDocuments = false ) { $this -> cmd [ "capped" ] = true ; $this -> cmd [ "size" ] = (int) $maxBytes ; if ... ger ( "mongodb://localhost:27017" ); $createCollection = new CreateCollection ( "cappedCollection" ); $createCollection -> setCappedCollection ( 64 * 1024 ); try { $command = $createCollection -> getCommand (); $cursor = $manager -> executeCommand ( "databaseName" ... capped size manager cappedCollection databaseName collstats Manager mongodb provide final CreateCollection collectionName setCappedCollection ...
https://man.mtool.work/php/8.3/class.mongodb-driver-command.html
The MongoDB\Driver\Command class 7485
« 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 ... md = array(); function __construct ( $collectionName ) { $this -> cmd [ "create" ] = (string) $collectionName ; } function setCappedCollection ( $maxBytes , $maxDocuments = false ) { $this -> cmd [ "capped" ] = true ; $this -> cmd [ "size" ] = (int) $maxBytes ; if ... ger ( "mongodb://localhost:27017" ); $createCollection = new CreateCollection ( "cappedCollection" ); $createCollection -> setCappedCollection ( 64 * 1024 ); try { $command = $createCollection -> getCommand (); $cursor = $manager -> executeCommand ( "databaseName" ...
https://man.mtool.work/php/8.3/class.mongodb-driver-command.html
PREV 1 NEXT