Neo4j.Sips v0.2.11 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

Logs the given message in debug mode

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" ]
log(message)

Logs the given message in debug mode.

The logger call will be removed at compile time if compile_time_purge_level is set to higher than :debug

server_version()

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

start_link(server_endpoint)

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