defmodule Neo4j.Utils do
end

defmodule Neo4j.Utils do
  def exists(key: key, value: value) do
    conn = Bolt.Sips.conn
    query = "MATCH (n { #{key}: '#{value}' }) RETURN n"
    result = Bolt.Sips.query!(conn, query)
    length(result) != 0
  end
end

Add func to check if a node exists
Add func to check if a node exists

obahareth/twitter-relations-grapher,obahareth/twitter-relations-grapher