« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 155 for cursor (0.001 sec.)
The MongoDB\Driver\Cursor class | PHP 8.3 10135
The MongoDB\Driver\Cursor class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Cursor class encapsulates the results of a MongoDB command or query and may be returned by MongoDB\Driver\Manager::executeCommand() or MongoDB\Driver\Manager::exe ... cuteQuery() , respectively. クラス概要 final class MongoDB\Driver\Cursor implements MongoDB\Driver\CursorInterface { /* メソッド */ final private function __construct () public function current ( ... (): bool } 変更履歴 バージョン 説明 PECL mongodb 1.9.0 Implements Iterator . PECL mongodb 1.6.0 Implements MongoDB\Driver\CursorInterface , which extends Traversable . 例 例1 Reading a result set MongoDB\Driver\Manager::executeCommand() and MongoDB\Dr ... iver\Manager::executeQuery() both return their result(s) as a MongoDB\Driver\Cursor object. This object can be used to iterate over the result set of the command or query. Because MongoDB\Driver\Cursor impl ...
https://man.mtool.work/php/8.3/class.mongodb-driver-cursor.html
cubrid_move_cursor — Move the cursor in the result | PHP 8.3 9961
cubrid_move_cursor (PECL CUBRID >= 8.3.0) cubrid_move_cursor — Move the cursor in the result 説明 function cubrid_move_cursor ( resource $req_identifier , int $offset , int $origin = CUBRID_CURSOR_CURRENT ): bool The cubrid_move_cursor() fu ... nction is used to move the current cursor location of req_identifier by the value set in the offset argument, to the direction set in the origin argument. To set th ... e origin argument, you can use CUBRID_CURSOR_FIRST for the first part of the result, CUBRID_CURSOR_CURRENT for the current location of the result, or CUBRID_CURSOR_LAS ... T for the last part of the result. If origin argument is not explicitly designated, then the function uses CUBRID_CURSOR_CURRENT as its default value. If the value of cursor movement range goes over the valid limit, then the cursor moves to th ...
https://man.mtool.work/php/8.3/function.cubrid-move-cursor.html
MongoDB\Driver\Cursor::isDead — Checks if the cursor is exhausted or may have a... 9694
MongoDB\Driver\Cursor::isDead (mongodb >=1.0.0) MongoDB\Driver\Cursor::isDead — Checks if the cursor is exhausted or may have additional results 説明 final public function MongoDB\Driver\Cursor::isDead (): bool Checks whether there are defi ... nitely no additional results available on the cursor. 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 has be ... en fully iterated and the cursor ID is zero (i.e. a » getMore cannot be issued). An error was encountered while iterating the cursor. The cursor reached it ...
https://man.mtool.work/php/8.3/mongodb-driver-cursor.isdead.html
cubrid_lob2_seek — Move the cursor of a lob object | PHP 8.3 9081
cubrid_lob2_seek (PECL CUBRID >= 8.4.1) cubrid_lob2_seek — Move the cursor of a lob object 説明 function cubrid_lob2_seek ( resource $lob_identifier , int $offset , int $origin = CUBRID_CURSOR_CURRENT ): bool The cubrid_lob2_seek() function ... is used to move the cursor position of a lob object by the value set in the offset argument, to the direction set in the origin argument. To set the ... origin argument, you can use CUBRID_CURSOR_FIRST to set the cursor position moving forward offset units from the first beginning. In this case, offset must be a posi ... tive value. If you use CUBRID_CURSOR_CURRENT for origin , you can move forward or backward. and offset can be positive or negative. If you use CUBRID_CURSOR_LA ...
https://man.mtool.work/php/8.3/function.cubrid-lob2-seek.html
cubrid_lob2_seek64 — Move the cursor of a lob object | PHP 8.3 8976
cubrid_lob2_seek64 (PECL CUBRID >= 8.4.1) cubrid_lob2_seek64 — Move the cursor of a lob object 説明 function cubrid_lob2_seek64 ( resource $lob_identifier , string $offset , int $origin = CUBRID_CURSOR_CURRENT ): bool The cubrid_lob2_seek64 ... () function is used to move the cursor position of a lob object by the value set in the offset argument, to the direction set in the origin argument. If the offs ... ve is larger than an integer data can be stored, you can use this function. To set the origin argument, you can use CUBRID_CURSOR_FIRST to set the cursor position moving forward offset units from the first beginning. In this case, offset must be a posi ... tive value. If you use CUBRID_CURSOR_CURRENT for origin , you can move forward or backward. and offset can be positive or negative. If you use CUBRID_CURSOR_LA ...
https://man.mtool.work/php/8.3/function.cubrid-lob2-seek64.html
MongoDB\Driver\CursorInterface::isDead — Checks if the cursor may have addition... 8814
MongoDB\Driver\CursorInterface::isDead (mongodb >=1.6.0) MongoDB\Driver\CursorInterface::isDead — Checks if the cursor may have additional results 説明 abstract public function MongoDB\Driver\CursorInterface::isDead (): bool Checks whether ... the cursor may have additional results available to read. A cursor is initially "alive" but may become "dead" for any of the followin ... g 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 reached ... its configured limit This is primarily useful with tailable cursors. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if additional results are not available, and false o ...
https://man.mtool.work/php/8.3/mongodb-driver-cursorinterface.isdead.html
MongoDB\Driver\Cursor::toArray — Returns an array containing all results for th... 8501
MongoDB\Driver\Cursor::toArray (mongodb >=1.0.0) MongoDB\Driver\Cursor::toArray — Returns an array containing all results for this cursor 説明 final public function MongoDB\Driver\Cursor::toArray (): array Iterates the cursor and returns it ... s results in an array. MongoDB\Driver\Cursor::setTypeMap() may be used to control how documents are unserialized into PHP values. パラメータ この関数にはパラメータはあ ... りません。 戻り値 Returns an array containing all results for this cursor. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\ ... insert ([ 'x' => 3 ]); $manager -> executeBulkWrite ( 'db.collection' , $bulk ); $query = new MongoDB\Driver\Query ([]); $cursor = $manager -> executeQuery ( 'db.collection' , $query ); var_dump ( $cursor -> toArray ()); ?> 上の例の出力は、 たとえば以 ...
https://man.mtool.work/php/8.3/mongodb-driver-cursor.toarray.html
MongoDB\Driver\Cursor::getId — Returns the ID for this cursor | PHP 8.3 8478
MongoDB\Driver\Cursor::getId (mongodb >=1.0.0) MongoDB\Driver\Cursor::getId — Returns the ID for this cursor 説明 final public function MongoDB\Driver\Cursor::getId (): MongoDB\BSON\Int64 Returns the ID for this cursor, which uniquely ident ... ifies the cursor on the server. パラメータ この関数にはパラメータはありません。 戻り値 Returns the ID for this cursor. The ID will be retur ... anged to MongoDB\BSON\Int64 . The asInt64 parameter was removed. PECL mongodb 1.20.0 Deprecated returning a MongoDB\Driver\CursorId . Added the asInt64 argument to ease migration for future versions. If asInt64 is true , the ID will be returned as a Mo ... ngoDB\BSON\Int64 . 例 例1 MongoDB\Driver\Cursor::getId() example <?php /* In this example, we insert several documents into the collection and specify * a smaller batchSi ...
https://man.mtool.work/php/8.3/mongodb-driver-cursor.getid.html
定義済み定数 | PHP 8.3 8061
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 SQLSRV_FETCH_ASSOC ( int ) Forces sqlsrv_fetch_array() to return an associati ... is value is used to set the TransactionIsolation level in the $connectionOptions array passed to sqlsrv_connect() . SQLSRV_CURSOR_FORWARD ( int ) Indicates a forward-only cursor. For usage information, see » Specifying a Cursor Type and Selecting Rows ... . SQLSRV_CURSOR_STATIC ( int ) Indicates a static cursor. For usage information, see » Specifying a Cursor Type and Selecting Rows . SQLSR ... V_CURSOR_DYNAMIC ( int ) Indicates a dynamic cursor. For usage information, see » Specifying a Cursor Type and Selecting Rows . SQL ...
https://man.mtool.work/php/8.3/sqlsrv.constants.html
MongoDB\Driver\CursorId::__toString — String representation of the cursor ID | ... 7795
MongoDB\Driver\CursorId::__toString (mongodb >=1.0.0) MongoDB\Driver\CursorId::__toString — String representation of the cursor ID 説明 final public function MongoDB\Driver\CursorId::__toString (): string Returns the string representation o ... f the cursor ID. パラメータ この関数にはパラメータはありません。 戻り値 Returns the string representation of the cursor ID. 例 例1 Mong ... oDB\Driver\CursorId::__toString() example <?php /* In this example, we insert several documents into the collection and specify * a smaller ... batchSize to ensure that the first batch contains only a subset of * our results and the cursor remains open on the server. */ $manager = new MongoDB\Driver\Manager ( "mongodb://localhost:27017" ); $query = new MongoDB ...
https://man.mtool.work/php/8.3/mongodb-driver-cursorid.tostring.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT