PHP Classes

File: vendor/mongodb/mongodb/tests/SpecTests/transactions/count.json

Recommend this page to a friend!
  Classes of walid laggoune   MongoDB Queue PHP Query Execute   vendor/mongodb/mongodb/tests/SpecTests/transactions/count.json   Download  
File: vendor/mongodb/mongodb/tests/SpecTests/transactions/count.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: 2,475 bytes
 

Contents

Class file image Download
{ "runOn": [ { "minServerVersion": "4.0.2", "topology": [ "replicaset" ] }, { "minServerVersion": "4.1.8", "topology": [ "sharded" ] } ], "database_name": "transaction-tests", "collection_name": "test", "data": [ { "_id": 1 }, { "_id": 2 }, { "_id": 3 }, { "_id": 4 } ], "tests": [ { "description": "count", "operations": [ { "name": "startTransaction", "object": "session0" }, { "name": "count", "object": "collection", "arguments": { "session": "session0", "filter": { "_id": 1 } }, "result": { "errorCodeName": "OperationNotSupportedInTransaction", "errorLabelsOmit": [ "TransientTransactionError", "UnknownTransactionCommitResult" ] } }, { "name": "abortTransaction", "object": "session0" } ], "expectations": [ { "command_started_event": { "command": { "count": "test", "query": { "_id": 1 }, "readConcern": null, "lsid": "session0", "txnNumber": { "$numberLong": "1" }, "startTransaction": true, "autocommit": false, "writeConcern": null }, "command_name": "count", "database_name": "transaction-tests" } }, { "command_started_event": { "command": { "abortTransaction": 1, "lsid": "session0", "txnNumber": { "$numberLong": "1" }, "startTransaction": null, "autocommit": false, "writeConcern": null }, "command_name": "abortTransaction", "database_name": "admin" } } ], "outcome": { "collection": { "data": [ { "_id": 1 }, { "_id": 2 }, { "_id": 3 }, { "_id": 4 } ] } } } ] }