Total newbie here, so this may be obvious to everyone else.
Why are there more db hits when I run this query:
PROFILE
MATCH (a:Actor)
WHERE a.born.year >= 1980
WITH a, [(a)-[:ACTED_IN]->(m:Movie) WHERE 2000 <= m.year <= 2005 | m.title] AS Movies
WHERE size(Movies) > 0
RETURN a.name as Actor, a.born as Born, Movies
vs the same query, but leaving out the "Movie" label in my comprehension string:
PROFILE
MATCH (a:Actor)
WHERE a.born.year >= 1980
WITH a, [(a)-[:ACTED_IN]->(m) WHERE 2000 <= m.year <= 2005 | m.title] AS Movies
WHERE size(Movies) > 0
RETURN a.name as Actor, a.born as Born, Movies
The difference is very small, but I would absolutely love to know why there is one.
Thank you