cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Can we automate with NodeJS

sucheta
Graph Buddy

Hi,

Traditionally, we first setup the database of Neo4j by entering the Create queries in browser. But can we directly send the queries like CREATE, MATCH, etc. to Neo4j without running the queries on Neo4j Browser via NodeJS ? Is there a provision ? I do not want to enter the queries in Neo4j Browser and want to automate this process vis NodeJS.

Thanks & Regards,
Sucheta

1 REPLY 1

You can run a populate script in your application, that first checks if there is data in the graph

MATCH () RETURN count(*) as count

and if not runs the statements (or a file) to populate it.