prismagraphql

Open full view…

--- db.getCollection('User'

pntripathi9417
Sat, 08 Dec 2018 06:33:42 GMT

).insert({ "_id": "cjl4srkaqqxa30b46pqcyzpyo", "name": "Alice", "email": "[email protected]", }) db.getCollection('Post').insert({ "_id": "cjl4srkaqqxa30b46pqcyzpyo", "title": "GraphQL Conf 2019" }) db.getCollection('User').update( {"_id": "cjl4srkaqqxa30b46pqcyzpyo"}, { "postIds": ["cjl4srkaqqxa30b46pqcyzpyo"] }) --- I saw this generated output of in the example you guys provided. How will you ensure the ACID transactionality of the executing code? What if the server crashes just after the user insertion?