-
Notifications
You must be signed in to change notification settings - Fork 467
Closed as not planned
Labels
StaleStale issues/PRsStale issues/PRsquestionFurther information is requestedFurther information is requested
Description
Is there a way to run this query faster? Maybe a technique I am overlooking? I see that I am running MATCH multiple times and not sure if that has anything to do with it
SELECT concat(a::text, ' / ', b::text, ' / ', c::text, ' / ', d::text, ' / ', e::text) AS concatenated_string
FROM cypher('hermech', $$
MATCH (a:load_number)-[]-(b:origin)
MATCH (a)-[]-(c:pickup_time)
MATCH (a)-[]-(d:destination)
MATCH (a)-[]-(e:delivery_time)
MATCH (a)-[]-(d:destination)
MATCH (a)-[]-(e:delivery_time)
RETURN a.value, b.value, c.value, d.value, e.value
$$) AS (a agtype, b agtype, c agtype, d agtype, e agtype);
It seems to take about 4 seconds
Metadata
Metadata
Assignees
Labels
StaleStale issues/PRsStale issues/PRsquestionFurther information is requestedFurther information is requested