PHP Classes

File: vendor/mongodb/mongodb/tests/SpecTests/crud/db-aggregate.json

Recommend this page to a friend!
  Classes of walid laggoune   MongoDB Queue PHP Query Execute   vendor/mongodb/mongodb/tests/SpecTests/crud/db-aggregate.json   Download  
File: vendor/mongodb/mongodb/tests/SpecTests/crud/db-aggregate.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: MongoDB Queue PHP Query Execute
Query and execute multiple queries using MongoDB
Author: By
Last change:
Date: 4 years ago
Size: 1,677 bytes
 

Contents

Class file image Download
{ "runOn": [ { "minServerVersion": "3.6.0" } ], "database_name": "admin", "tests": [ { "description": "Aggregate with $listLocalSessions", "operations": [ { "name": "aggregate", "object": "database", "arguments": { "pipeline": [ { "$listLocalSessions": {} }, { "$limit": 1 }, { "$addFields": { "dummy": "dummy field" } }, { "$project": { "_id": 0, "dummy": 1 } } ] }, "result": [ { "dummy": "dummy field" } ] } ] }, { "description": "Aggregate with $listLocalSessions and allowDiskUse", "operations": [ { "name": "aggregate", "object": "database", "arguments": { "pipeline": [ { "$listLocalSessions": {} }, { "$limit": 1 }, { "$addFields": { "dummy": "dummy field" } }, { "$project": { "_id": 0, "dummy": 1 } } ], "allowDiskUse": true }, "result": [ { "dummy": "dummy field" } ] } ] } ] }