https://github.com/jgaskins/neo4j.cr
Crystal implementation of a Neo4j driver using the Bolt protocol.
require "neo4j"
# The `ssl` option defaults to `true` so you don't accidentally send the
# password to your production DB in cleartext.
connection = Neo4j::Bolt::Connection.new(
"bolt://neo4j:password@localhost:7687",
ssl: false,
)
connection.execute("
MATCH (order:Order)-[:ORDERS]->(product:Product)
RETURN order, collect(product)
LIMIT 10
")