Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/csharp/Example.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static async Task Main() {

var cypherQuery =
@"
MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)
MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)
RETURN other.name as person
";

Expand Down
2 changes: 1 addition & 1 deletion code/go/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func runQuery(uri, database, username, password string) (result []string, err er
results, err := session.ReadTransaction(func(transaction neo4j.Transaction) (interface{}, error) {
result, err := transaction.Run(
`
MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)
MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)
RETURN other.name as person
`, map[string]interface{}{
"name": "Jaime Lannister",
Expand Down
2 changes: 1 addition & 1 deletion code/java/Example.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static void main(String...args) {
try (Session session = driver.session(SessionConfig.forDatabase("neo4j"))) {

String cypherQuery =
"MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)" +
"MATCH (c:Person{name:$name})-[r:INTERACTS]->(other) " +
"RETURN other.name as person";

var result = session.readTransaction(
Expand Down
2 changes: 1 addition & 1 deletion code/javascript/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const driver = neo4j.driver('bolt://<HOST>:<BOLTPORT>',

const query =
`
MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)
MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)
RETURN other.name as person
`;

Expand Down
2 changes: 1 addition & 1 deletion code/python/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
auth=basic_auth("<USERNAME>", "<PASSWORD>"))

cypher_query = '''
MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)
MATCH (c:Person{name:$name})-[r:INTERACTS]->(other)
RETURN other.name as person
'''

Expand Down