Results of 1 - 10 of about 10 for iterate (0.004 sec.)
- The MongoDB\Driver\Cursor class | PHP 8.3 11763
- 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
... B\Driver\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 implements the Traversable interface, you can s ... imply iterate over the result set with foreach . <?php $manager = new MongoDB\Driver\Manager (); /* Insert some documents so that our qu ... uery ( "test.asteroids" , $query ); /* $cursor now contains an object that wraps around the result set. Use * foreach() to iterate over all the result */ foreach( $cursor as $document ) { print_r ( $document ); } ?> 上の例の出力は、 たとえば以下のように ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-cursor.html
- MongoDB\BSON\Document::getIterator — Returns an iterator for the BSON document ... 10547
- MongoDB\BSON\Document::getIterator (mongodb >=1.16.0) MongoDB\BSON\Document::getIterator — Returns an iterator for the BSON document 説明 final public function MongoDB\BSON\Document::getIterator (): MongoDB\BSON\Iterator パラメータ この関数
... にはパラメータはありません。 戻り値 Returns a MongoDB\BSON\Iterator instance that can be used to iterate over all keys in the document. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing ...
-
https://man.mtool.work/php/8.3/mongodb-bson-document.getiterator.html
- MongoDB\BSON\PackedArray::getIterator — Returns an iterator for the BSON array ... 10547
- MongoDB\BSON\PackedArray::getIterator (mongodb >=1.16.0) MongoDB\BSON\PackedArray::getIterator — Returns an iterator for the BSON array 説明 final public function MongoDB\BSON\PackedArray::getIterator (): MongoDB\BSON\Iterator パラメータ こ
... の関数にはパラメータはありません。 戻り値 Returns a MongoDB\BSON\Iterator instance that can be used to iterate over all indexes in the array. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing ...
-
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.getiterator.html
- The MongoDB\BSON\Iterator class | PHP 8.3 10154
- The MongoDB\BSON\Iterator class (mongodb >=1.16.0) はじめに Iterator used to iterate a BSON document or array. クラス概要 final class MongoDB\BSON\Iterator implements Iterator { /* メソッド */ final private function __construct () public fu
...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-iterator.html
- ibase_blob_info — blob の長さと他の便利な情報を返す | PHP 8.3 9332
- ibase_blob_info (PHP 5, PHP 7 < 7.4.0) ibase_blob_info — blob の長さと他の便利な情報を返す 説明 function ibase_blob_info ( resource $link_identifier , string $blob_id ): array function ibase_blob_info ( string $blob_id ): array BLOB の長さや
... などがあります。 他のマニュアルの関連ページ DuckDB Directly Reading Files Linux JM pig(6) DuckDB Blob Functions Linux JM dl_iterate_phdr(3) DuckDB Blob Type Linux JM sbrk(2) ...
-
https://man.mtool.work/php/8.3/function.ibase-blob-info.html
- sqlsrv_num_fields — Retrieves the number of fields (columns) on a statement | P... 8938
- sqlsrv_num_fields (No version information available, might only be in Git) sqlsrv_num_fields — Retrieves the number of fields (columns) on a statement 説明 function sqlsrv_num_fields ( resource $stmt ): mixed Retrieves the number of fields
... die( print_r ( sqlsrv_errors (), true )); } $numFields = sqlsrv_num_fields ( $stmt ); while( sqlsrv_fetch ( $stmt )) { // Iterate through the fields of each row. for( $i = 0 ; $i < $numFields ; $i ++) { echo sqlsrv_get_field ( $stmt , $i ). " " ; } ech ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-num-fields.html
- FFI::load — C のヘッダーファイルから C の宣言を読み込む | PHP 8.3 8116
- FFI::load (PHP 7 >= 7.4.0, PHP 8) FFI::load — C のヘッダーファイルから C の宣言を読み込む 説明 public static function FFI::load ( string $filename ): ? FFI C のヘッダーファイルから C の宣言を読み込みます。 読み込まれる C のヘッダーファイル内
... ンスタンス化する 他のマニュアルの関連ページ Linux JM intro(3) Linux JM intro(2) Linux JM feature_test_macros(7) Linux JM dl_iterate_phdr(3) Linux JM default_store(3) Linux JM elfedit(1) ...
-
https://man.mtool.work/php/8.3/ffi.load.html
- C のコードやデータへの主要インターフェース | PHP 8.3 6900
- C のコードやデータへの主要インターフェース (PHP 7 >= 7.4.0, PHP 8) はじめに このクラスのオブジェクトは、ファクトリーメソッドである FFI::cdef() や FFI::load() 、 FFI::scope() によって作成されます。 定義された C の変数は FFI インスタンスのプロ
... から FFI\CType オブジェクトを作成する FFI::typeof — FFI\CData の FFI\CType を取得する 他のマニュアルの関連ページ Linux JM dl_iterate_phdr(3) Python socket Linux JM ipv6(7) Linux JM intro(3) Linux JM kexec_load(2) Linux JM kexec_file_load(2) ...
-
https://man.mtool.work/php/8.3/class.ffi.html
- MongoDB\Driver\Manager::executeCommand — Execute a database command | PHP 8.3 6900
- MongoDB\Driver\Manager::executeCommand (mongodb >=1.0.0) MongoDB\Driver\Manager::executeCommand — Execute a database command 説明 final public function MongoDB\Driver\Manager::executeCommand ( string $db , MongoDB\Driver\Command $command ,
... ggregate command can optionally return its results in a cursor instead * of a single result document. In this case, we can iterate on the cursor * directly to access those results. */ foreach ( $cursor as $document ) { var_dump ( $document ); } ?> 上の例 ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.executecommand.html
- Serialization and deserialization of PHP variables into MongoDB | PHP 8.3 6096
- Serialization and deserialization of PHP variables into MongoDB This document discusses how compound structures (i.e. documents, arrays, and objects) are converted between BSON and PHP values. Serialization to BSON Arrays If an array is a p
... rClass which extends OurClass The MongoDB\BSON\Unserializable::bsonUnserialize() method of YourClass, OurClass, TheirClass iterate over the array and set the properties without modifications. It also sets the $unserialized property to true : <?php funct ...
-
https://man.mtool.work/php/8.3/mongodb.persistence.html
PREV
1
NEXT