Batch create or get path in py2neo
I'm trying to create a date/time tree in neo4j as Nigel Small described
here. I want to pre-populate all dates for a certain period of time, and
as such, want to run multiple get_or_create_path()s in a go. However, I
can't seem to find a batch version of this function, or a batch equivalent
of 'run cypher query' - if I have to run them all individually, it's going
to hit my runtime massively.
Is there any way to batch this process? Hopefully I'm being stupid and
have just missed an obvious function! I don't mind if it's a batch version
of running cypher queries, or of get_or_create_path().
Many thanks in advance,
Louis
No comments:
Post a Comment