Neo4j.Sips v0.1.24 Neo4j.Sips.Connection

The Connection module.

This module defines a Neo4j.Sips.Connection structure containing important server details. For efficiency, and because we need an initial dialog with the server for finding the REST API endpoints, the server details are cached and reused.

Summary

Functions

returns a Neo4j.Sips.Connection

returns a Connection containing the server details. You can specify some optional parameters i.e. graph_result

returns the version of the Neo4j server you’re connected to

Starts the connection process. Please check the config files for the connection options

Functions

conn()

returns a Neo4j.Sips.Connection

conn(options)

returns a Connection containing the server details. You can specify some optional parameters i.e. graph_result.

graph_result is nil, by default, and can have the following values:

graph_result: ["row"]
graph_result: ["graph"]

or both:

graph_result: [ "row", "graph" ]
server_version()

returns the version of the Neo4j server you’re connected to

start_link(server_endpoint)

Specs

start_link(Keyword.t) :: GenServer.on_start

Starts the connection process. Please check the config files for the connection options