- Cypher
- Python SDK
Copy
Ask AI
// Show commit history
CALL db.history()
// Read a previous commit
checkout c0a6ce3c0315be7a
// Query graph at specific commit
MATCH (n:Person)-[e:KNOWS]->(m:Person)
WHERE n.name = 'Jane'
AND n.name = 'John
RETURN n, e, m
Copy
Ask AI
# Show commit history
client.query("CALL db.history()")
# Read a previous commit
client.checkout(change="main", commit="c0a6ce3c0315be7a")
# Query graph at specific commit
client.query("""
MATCH (n:Person)-[e:KNOWS]->(m:Person)
WHERE n.name = 'Jane'
AND n.name = 'John
RETURN n, e, m
""")

