Results of 1 - 1 of about 1 for maxDocuments (0.000 sec.)
- The MongoDB\Driver\Command class | PHP 8.3 9414
- 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
... ( $collectionName ) { $this -> cmd [ "create" ] = (string) $collectionName ; } function setCappedCollection ( $maxBytes , $maxDocuments = false ) { $this -> cmd [ "capped" ] = true ; $this -> cmd [ "size" ] = (int) $maxBytes ; if ( $maxDocuments ) { $this -> ... cmd [ "max" ] = (int) $maxDocuments ; } } function usePowerOf2Sizes ( $bool ) { if ( $bool ) { $this -> cmd [ "flags" ] = 1 ; } else { $this -> cmd [ "flags" ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-command.html
PREV
1
NEXT