Neo4j database connection URL that contains the server, port number,
and web location of the Neo4j database, specified as a character vector or string
scalar.
If you specify a URL that starts with the http://
protocol identifier, then the neo4j function uses the
REST API to connect to the Neo4j database.
If you specify a Bolt database connection URL that starts with the
bolt:// protocol identifier, that is, you use the
Database Toolbox™ Interface for Neo4j Bolt Protocol, then the neo4j function creates a Bolt
connection instead.
Note
Ensure that you use the correct port number in the Neo4j database connection URL when you use the Bolt protocol.
The default port number 7687 for the Bolt protocol is
different from the default port numbers 7474 and
7473 for the HTTP and HTTPS protocols,
respectively.
If you specify any other protocol identifier, then the
neo4j function uses the REST API to create the
database connection.
Example: http://localhost:7474/db/data specifies using the HTTP protocol
where localhost is the server, 7474 is
the port number, and /db/data is the web location of the
database.
Example: bolt://localhost:7687/db/data specifies using
the Bolt protocol where localhost is the server,
7687 is the port number, and
/db/data is the web location of the
database.
Data Types: char | string