Skip to content

Commit 977c868

Browse files
committed
Format changes
1 parent 848690d commit 977c868

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ const bob = graph.addVertex("Person", { name: "Bob", age: 25 });
7272
graph.addEdge(alice, "knows", bob, {});
7373

7474
// 4. Query with Cypher
75-
const results = graph.query(
76-
"MATCH (a:Person)-[:knows]->(b:Person) RETURN a.name, b.name",
77-
);
75+
const results = graph.query("MATCH (a:Person)-[:knows]->(b:Person) RETURN a.name, b.name");
7876
// [{ a: { name: "Alice" }, b: { name: "Bob" } }]
7977
```
8078

0 commit comments

Comments
 (0)