Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

plantingspace/Neo4jBase.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neo4jBase.jl

Julia library for interacting with Neo4j databases using the HTTP API.

Supports only basic HTTP methods for now, but is functional. Written since the two other Julia Neo4j packages do not work Neo4jBolt.jl and Neo4j.jl.

More functionality and documentation may come later, PRs welcome.

API Referece

Connection(;host::String, port::Int, db::String, username::String, password::String)

Defines the Neo4j database connection. If keyword arguments are not specified, connection to default local database is created. Returns nothing if there was an issue connecting.

commit(conn::Connection, query::String)

Commit the Cypher query to the database and get the results or nothing if an error occured.

Neo4jBase.root_discovery(host::String, port::Int)

Fetches a list of other Neo4j URIs, as well as version information of the server.