cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Limit on CASE or apoc.case conditions?

mbandor
Graph Voyager

Is there a limit as to how many items can be included in the conditions for either CASE or apoc.case? I have a file with approximately 75 unique items I need to check for and act upon. If there is a limit, I may have to make multiple passes through the file as an alternative. So far I haven't found anything in the documentation indicating a limit, however I'm getting lexical errors when all the conditions are included in the apoc.case statement.

Thanks.

1 ACCEPTED SOLUTION

mbandor
Graph Voyager

I did some experimentation with the apoc.case() function and it appears the upper limit on the number of conditions seems to be about 50.

View solution in original post

1 REPLY 1

mbandor
Graph Voyager

I did some experimentation with the apoc.case() function and it appears the upper limit on the number of conditions seems to be about 50.