« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for projection (0.001 sec.)
MongoDB\Driver\Query::__construct — Create a new Query | PHP 8.3 11564
MongoDB\Driver\Query::__construct (mongodb >=1.0.0) MongoDB\Driver\Query::__construct — Create a new Query 説明 final public function MongoDB\Driver\Query::__construct ( array | object $filter , ? array $queryOptions = null ) Constructs a n ... specified. noCursorTimeout bool Prevents the server from timing out idle cursors after an inactivity period (10 minutes). projection array | object The » projection specification to determine which fields to include in the returned documents. If you are u ... M functionality to deserialise documents as their original PHP class, make sure that you include the __pclass field in the projection. This is required for the deserialization to work and without it, the extension will return (by default) a stdClass object ... bjori' , 'views' => [ '$gte' => 100 , ], ]; $options = [ /* Only return the following fields in the matching documents */ 'projection' => [ 'title' => 1 , 'article' => 1 , ], /* Return the documents in descending order of views */ 'sort' => [ 'views' => - ...
https://man.mtool.work/php/8.3/mongodb-driver-query.construct.html
CollectionFind::fields — ドキュメントのフィールドのフィルタを設定する | PHP 8.3 11269
CollectionFind::fields (No version information available, might only be in Git) CollectionFind::fields — ドキュメントのフィールドのフィルタを設定する 説明 public function mysql_xdevapi\CollectionFind::fields ( string $projection ): mysql_xd ... evapi\CollectionFind クエリによって返されるカラムを設定します。 設定されない場合は、全てのカラムが使われます。 パラメータ projection 単一の文字列か、文字列の配列。 検索条件にマッチするドキュメント単位で返されるカラムを識別します。 戻り値 後の処理に使える ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collectionfind.fields.html
CollectionFind クラス | PHP 8.3 8089
CollectionFind クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\CollectionFind implements mysql_xdevapi\Executable , mysql_xdevapi\CrudOperationBindable , mysql_xdevapi\CrudOperationLimitable , mysql_xdevapi\Cru ... alues ): mysql_xdevapi\CollectionFind public function execute (): mysql_xdevapi\DocResult public function fields ( string $projection ): mysql_xdevapi\CollectionFind public function groupBy ( string $sort_expr ): mysql_xdevapi\CollectionFind public functio ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-collectionfind.html
MongoDB\Driver\Manager::executeQuery — Execute a database query | PHP 8.3 7501
MongoDB\Driver\Manager::executeQuery (mongodb >=1.0.0) MongoDB\Driver\Manager::executeQuery — Execute a database query 説明 final public function MongoDB\Driver\Manager::executeQuery ( string $namespace , MongoDB\Driver\Query $query , ? arr ... [ 'x' => 3 ]); $manager -> executeBulkWrite ( 'db.collection' , $bulk ); $filter = [ 'x' => [ '$gt' => 1 ]]; $options = [ 'projection' => [ '_id' => 0 ], 'sort' => [ 'x' => - 1 ], ]; $query = new MongoDB\Driver\Query ( $filter , $options ); $cursor = $mana ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.executequery.html
Serialization and deserialization of PHP variables into MongoDB | PHP 8.3 7501
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 ... Class property. The __pclass functionality relies on the property being part of a retrieved MongoDB document. If you use a projection when querying for documents, you need to include the __pclass field in the projection for this functionality to work. "arr ...
https://man.mtool.work/php/8.3/mongodb.persistence.html
PREV 1 NEXT