Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 378ada5

Browse files
author
Sandbox 🤖
committed
Triggered by direct commit. Origin: neo4j-contrib/sandbox-code-updater@abc562b
1 parent 010c8f0 commit 378ada5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

‎code/csharp/Example.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace dotnet {
1414
class Example {
1515
static async Task Main() {
16-
var driver = GraphDatabase.Driver("bolt://<HOST>:<BOLTPORT>",
16+
var driver = GraphDatabase.Driver("neo4j://<HOST>:<BOLTPORT>",
1717
AuthTokens.Basic("<USERNAME>", "<PASSWORD>"));
1818

1919
var cypherQuery =

‎code/go/example.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
func main() {
13-
results, err := runQuery("bolt://<HOST>:<BOLTPORT>", "neo4j", "<USERNAME>", "<PASSWORD>")
13+
results, err := runQuery("neo4j://<HOST>:<BOLTPORT>", "neo4j", "<USERNAME>", "<PASSWORD>")
1414
if err != nil {
1515
panic(err)
1616
}

‎code/java/Example.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class Example {
1111

1212
public static void main(String...args) {
1313

14-
Driver driver = GraphDatabase.driver("bolt://<HOST>:<BOLTPORT>",
14+
Driver driver = GraphDatabase.driver("neo4j://<HOST>:<BOLTPORT>",
1515
AuthTokens.basic("<USERNAME>","<PASSWORD>"));
1616

1717
try (Session session = driver.session(SessionConfig.forDatabase("neo4j"))) {

‎code/javascript/example.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// npm install --save neo4j-driver
22
// node example.js
33
const neo4j = require('neo4j-driver');
4-
const driver = neo4j.driver('bolt://<HOST>:<BOLTPORT>',
4+
const driver = neo4j.driver('neo4j://<HOST>:<BOLTPORT>',
55
neo4j.auth.basic('<USERNAME>', '<PASSWORD>'),
66
{/* encrypted: 'ENCRYPTION_OFF' */});
77

‎code/python/example.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from neo4j import GraphDatabase, basic_auth
55

66
driver = GraphDatabase.driver(
7-
"bolt://<HOST>:<BOLTPORT>",
7+
"neo4j://<HOST>:<BOLTPORT>",
88
auth=basic_auth("<USERNAME>", "<PASSWORD>"))
99

1010
cypher_query = '''

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /