Neo4j Reader Parameters

About Database Connections

Database formats include a Database Connection parameter that defines and stores authentication information. For general information about sharing database connections, please see Using Database Connections. Using Database Connections.

Note that Database Connection parameters differ slightly, depending on context and/or database format.

Connection

From the Connection parameter in a database format, you can do one of the following:

  • Select an existing, previously defined connection. See the section Reusing a Database Connection in Using Database Connections
  • Select Add Database Connection to define a new connection. See database-specific parameters below, as well as the section Adding a Database Connection in a Workspace in Using Database Connections. The new connection can be made visible only to the current user, or can be shared among multiple users.

Database Connection

Select an existing Neo4j connection, or Add Database Connection...

Add Neo4j Connection

To define a new connection from the Connection parameter in a Neo4j format, see the topic Neo4j: Add Database Connection.

Include transaction-local element IDs

This parameter controls whether the results of Cypher queries executed by the reader will include the transaction-local element IDs assigned by Neo4j. This can be useful to check the uniqueness of nodes and relationships returned from a query.

Constraints

The constraint parameters can be used to read only a subgraph of the database.

Node Labels – Only nodes with at least one of the labels specified by this parameter will be read from the database. If empty, then all nodes will be read regardless of their label, subject to the relationship types constraint.

Relationship Types – Only relationships with one of the types specified by this parameter will be read from the database. If empty, then relationships with any type will be read, subject to the node labels constraint. When relationship types are specified, disconnected nodes are no longer read.