PHP Classes

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

Recommend this page to a friend!
  Classes of LAGGOUNE Walid   MongoDB Queue PHP Query Execute   vendor/mongodb/mongodb/tests/SpecTests/transactions/isolation.json   Download  
File: vendor/mongodb/mongodb/tests/SpecTests/transactions/isolation.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: 4,425 bytes
 

Contents

Class file image Download
{ "runOn": [ { "minServerVersion": "4.0", "topology": [ "replicaset" ] }, { "minServerVersion": "4.1.8", "topology": [ "sharded" ] } ], "database_name": "transaction-tests", "collection_name": "test", "data": [], "tests": [ { "description": "one transaction", "operations": [ { "name": "startTransaction", "object": "session0" }, { "name": "insertOne", "object": "collection", "arguments": { "session": "session0", "document": { "_id": 1 } }, "result": { "insertedId": 1 } }, { "name": "find", "object": "collection", "arguments": { "session": "session0", "filter": { "_id": 1 } }, "result": [ { "_id": 1 } ] }, { "name": "find", "object": "collection", "arguments": { "session": "session1", "filter": { "_id": 1 } }, "result": [] }, { "name": "find", "object": "collection", "arguments": { "filter": { "_id": 1 } }, "result": [] }, { "name": "commitTransaction", "object": "session0" }, { "name": "find", "object": "collection", "arguments": { "session": "session1", "filter": { "_id": 1 } }, "result": [ { "_id": 1 } ] }, { "name": "find", "object": "collection", "arguments": { "filter": { "_id": 1 } }, "result": [ { "_id": 1 } ] } ], "outcome": { "collection": { "data": [ { "_id": 1 } ] } } }, { "description": "two transactions", "operations": [ { "name": "startTransaction", "object": "session0" }, { "name": "startTransaction", "object": "session1" }, { "name": "insertOne", "object": "collection", "arguments": { "session": "session0", "document": { "_id": 1 } }, "result": { "insertedId": 1 } }, { "name": "find", "object": "collection", "arguments": { "session": "session0", "filter": { "_id": 1 } }, "result": [ { "_id": 1 } ] }, { "name": "find", "object": "collection", "arguments": { "session": "session1", "filter": { "_id": 1 } }, "result": [] }, { "name": "find", "object": "collection", "arguments": { "filter": { "_id": 1 } }, "result": [] }, { "name": "commitTransaction", "object": "session0" }, { "name": "find", "object": "collection", "arguments": { "session": "session1", "filter": { "_id": 1 } }, "result": [] }, { "name": "find", "object": "collection", "arguments": { "filter": { "_id": 1 } }, "result": [ { "_id": 1 } ] }, { "name": "commitTransaction", "object": "session1" } ], "outcome": { "collection": { "data": [ { "_id": 1 } ] } } } ] }