Try this:
with collect (distinct b.Label) as Templates
FOREACH (plates in Templates |
merge (a:LibNode {Label:plates})
)
Try this:
with collect (distinct b.Label) as Templates
FOREACH (plates in Templates |
merge (a:LibNode {Label:plates})
)