« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for tailable (0.002 sec.)
The MongoDB\Driver\Cursor class 12310
« MongoDB\Driver\ReadConcern::isDefault MongoDB\Driver\Cursor::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\Cursor class 検索 The MongoDB\Driver\Cursor class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Cursor class encapsula ... t ( [oid] => 5a4cff2f122d3321565d8cc3 ) [name] => Vesta [size] => 525 [distance] => 2.362 ) 例2 Reading a result set for a tailable cursor » Tailable cursors are a special type of MongoDB cursor that allows the client to read some results and then wait u ... llections and » Change Streams . While normal cursors can be iterated once with foreach , that approach will not work with tailable cursors. When foreach is used with a tailable cursor, the loop will stop upon reaching the end of the initial result set. ... ursors in MongoDB only support forward iteration, which means they cannot be rewound. In order to continuously read from a tailable cursor, the Cursor object must be wrapped with an IteratorIterator . This allows the application to directly control the c ...
https://man.mtool.work/php/8.3/class.mongodb-driver-cursor.html
The MongoDB\Driver\Cursor class 12239
« MongoDB\Driver\ReadConcern::isDefault MongoDB\Driver\Cursor::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\Cursor class 検索 The MongoDB\Driver\Cursor class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Cursor class encapsula ... t ( [oid] => 5a4cff2f122d3321565d8cc3 ) [name] => Vesta [size] => 525 [distance] => 2.362 ) 例2 Reading a result set for a tailable cursor » Tailable cursors are a special type of MongoDB cursor that allows the client to read some results and then wait u ... llections and » Change Streams . While normal cursors can be iterated once with foreach , that approach will not work with tailable cursors. When foreach is used with a tailable cursor, the loop will stop upon reaching the end of the initial result set. ... ursors in MongoDB only support forward iteration, which means they cannot be rewound. In order to continuously read from a tailable cursor, the Cursor object must be wrapped with an IteratorIterator . This allows the application to directly control the c ...
https://man.mtool.work/php/8.3/class.mongodb-driver-cursor.html
Checks if the cursor may have additional results 9675
« MongoDB\Driver\CursorInterface::getServer MongoDB\Driver\CursorInterface::setTypeMap » PHP Manual MongoDB\Driver\CursorInterface Checks if the cursor may have additional results 検索 MongoDB\Driver\CursorInterface::isDead (mongodb >=1.6.0 ... s available to read. A cursor is initially "alive" but may become "dead" for any of the following reasons: Advancing a non-tailable cursor did not return a document The cursor encountered an error The cursor read its last batch to completion The cursor r ... eached its configured limit This is primarily useful with tailable cursors. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if additional results are not available, and ... or may have additional results 関連キーワード: cursor MongoDB Driver results CursorInterface Checks isDead available read tailable its パラメータ getServer Search setTypeMap mongodb abstract function bool whether ...
https://man.mtool.work/php/8.3/mongodb-driver-cursorinterface.isdead.html
Checks if the cursor may have additional results 9675
« MongoDB\Driver\CursorInterface::getServer MongoDB\Driver\CursorInterface::setTypeMap » PHP Manual MongoDB\Driver\CursorInterface Checks if the cursor may have additional results 検索 MongoDB\Driver\CursorInterface::isDead (mongodb >=1.6.0 ... s available to read. A cursor is initially "alive" but may become "dead" for any of the following reasons: Advancing a non-tailable cursor did not return a document The cursor encountered an error The cursor read its last batch to completion The cursor r ... eached its configured limit This is primarily useful with tailable cursors. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if additional results are not available, and ... or may have additional results 関連キーワード: cursor MongoDB Driver results CursorInterface Checks isDead available read tailable getServer setTypeMap mongodb abstract whether initially alive become dead following reasons Advancing return document enco ...
https://man.mtool.work/php/8.3/mongodb-driver-cursorinterface.isdead.html
Create a new Query 8507
« MongoDB\Driver\Query MongoDB\Driver\BulkWrite » PHP Manual MongoDB\Driver\Query Create a new Query 検索 MongoDB\Driver\Query::__construct (mongodb >=1.0.0) MongoDB\Driver\Query::__construct — Create a new Query 説明 final public function ... wing an error. Falls back to the deprecated "partial" option if not specified. awaitData bool Use in conjunction with the "tailable" option to block a getMore operation on the cursor temporarily if at the end of data rather than returning no data. After ... the server to block a getMore operation if no data is available. This option should only be used in conjunction with the "tailable" and "awaitData" options. maxTimeMS int The cumulative time limit in milliseconds for processing operations on the cursor. ... The sort specification for the ordering of the results. Falls back to the deprecated "$orderby" modifier if not specified. tailable bool Returns a tailable cursor for a capped collection. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentExcep ...
https://man.mtool.work/php/8.3/mongodb-driver-query.construct.html
Create a new Query 8507
« MongoDB\Driver\Query MongoDB\Driver\BulkWrite » PHP Manual MongoDB\Driver\Query Create a new Query 検索 MongoDB\Driver\Query::__construct (mongodb >=1.0.0) MongoDB\Driver\Query::__construct — Create a new Query 説明 final public function ... wing an error. Falls back to the deprecated "partial" option if not specified. awaitData bool Use in conjunction with the "tailable" option to block a getMore operation on the cursor temporarily if at the end of data rather than returning no data. After ... the server to block a getMore operation if no data is available. This option should only be used in conjunction with the "tailable" and "awaitData" options. maxTimeMS int The cumulative time limit in milliseconds for processing operations on the cursor. ... The sort specification for the ordering of the results. Falls back to the deprecated "$orderby" modifier if not specified. tailable bool Returns a tailable cursor for a capped collection. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentExcep ...
https://man.mtool.work/php/8.3/mongodb-driver-query.construct.html
Checks if the cursor is exhausted or may have additional results 8207
« MongoDB\Driver\Cursor::getServer MongoDB\Driver\Cursor::key » PHP Manual MongoDB\Driver\Cursor Checks if the cursor is exhausted or may have additional results 検索 MongoDB\Driver\Cursor::isDead (mongodb >=1.0.0) MongoDB\Driver\Cursor::is ... This method is similar to the » cursor.isExhausted() method in the MongoDB shell and is primarily useful when iterating » tailable cursors . A cursor has no additional results and is considered "dead" when one of the following is true: The current batch ... var_dump ( $cursor -> isDead ()); ?> 上の例の出力は以下となります。 bool(false) bool(false) bool(false) bool(true) 参考 » Tailable Cursors in the MongoDB manual » cursor.isExhausted() in the MongoDB manual 関連キーワード: cursor MongoDB Driver results i ...
https://man.mtool.work/php/8.3/mongodb-driver-cursor.isdead.html
Checks if the cursor is exhausted or may have additional results 8207
« MongoDB\Driver\Cursor::getServer MongoDB\Driver\Cursor::key » PHP Manual MongoDB\Driver\Cursor Checks if the cursor is exhausted or may have additional results 検索 MongoDB\Driver\Cursor::isDead (mongodb >=1.0.0) MongoDB\Driver\Cursor::is ... This method is similar to the » cursor.isExhausted() method in the MongoDB shell and is primarily useful when iterating » tailable cursors . A cursor has no additional results and is considered "dead" when one of the following is true: The current batch ... var_dump ( $cursor -> isDead ()); ?> 上の例の出力は以下となります。 bool(false) bool(false) bool(false) bool(true) 参考 » Tailable Cursors in the MongoDB manual » cursor.isExhausted() in the MongoDB manual 関連キーワード: cursor MongoDB Driver results i ...
https://man.mtool.work/php/8.3/mongodb-driver-cursor.isdead.html
Create a new Command 7411
« MongoDB\Driver\Command MongoDB\Driver\Query » PHP Manual MongoDB\Driver\Command Create a new Command 検索 MongoDB\Driver\Command::__construct (mongodb >=1.0.0) MongoDB\Driver\Command::__construct — Create a new Command 説明 final public f ... ck a getMore operation if no data is available. This option should only be used in conjunction with commands that return a tailable cursor (e.g. » Change Streams ). エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsin ...
https://man.mtool.work/php/8.3/mongodb-driver-command.construct.html
Create a new Command 7411
« MongoDB\Driver\Command MongoDB\Driver\Query » PHP Manual MongoDB\Driver\Command Create a new Command 検索 MongoDB\Driver\Command::__construct (mongodb >=1.0.0) MongoDB\Driver\Command::__construct — Create a new Command 説明 final public f ... ck a getMore operation if no data is available. This option should only be used in conjunction with commands that return a tailable cursor (e.g. » Change Streams ). エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsin ...
https://man.mtool.work/php/8.3/mongodb-driver-command.construct.html
PREV 1 2 NEXT