Closed dhimmel closed 5 years ago
Currently, we have two internal database ids for nodes: one used by the Hetionet neo4j database and one used by this repo's postgres db. I am thinking we should consolidate and use the neo4j ids in this database.
To get all nodes, we could use a cypher query like:
MATCH (node) RETURN id(node) AS neo4j_id, head(labels(node)) AS node_label, properties(node) AS data ORDER BY neo4j_id LIMIT 10
Currently, we have two internal database ids for nodes: one used by the Hetionet neo4j database and one used by this repo's postgres db. I am thinking we should consolidate and use the neo4j ids in this database.