Data, Data Science, Data Engineering, Neo4j, NoSQL.
(source:Account {number: 1}), (destination:Account {number: 2}) CREATE (source)-[t:TRANSFER {amount: 200, timestamp: timestamp()}]->(destination) SET source.balance = source.balance - t.amount, destination.balance = destination.balance + t.amount This query matches the source and destination