cancel
Showing results for 
Search instead for 
Did you mean: 

Does "Load CSV" works in Neo4j Bloom?

I have a graph database of personnel, and a separate CSV file containing a list of VIPs. The reason why the list of VIPs is in a standalone CSV file is because this list changes frequently, and will be updated by users not trained in Cypher.

I have the following syntax, which works in Neo4j desktop:

LOAD CSV WITH HEADER FROM "...\vip.csv" AS vips
WITH COLLECT(vips.id) AS vip
MATCH (p:Person)
WHERE p.id IN vip
RETURN p

However, when I use the exact same syntax in Neo4j Bloom's search phrases, it does not work.

So does "load csv" works in Neo4j bloom? Otherwise, is there anyway to get around this limitation? Thank you!

2 REPLIES 2

lauri
Node

Hi wanderingcatto!

Unfortunately I don't have an answer either to your question, because I'm having the exact same problem!! Just wanted to share my suffering with you

Regards,
Lauri

neo
Node

The search phrases are not really meant for changing the database, which you are doing by loading that CSV into Neo.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.