0

how to search node without knowing what size are letters small or big

match (w:item) WHERE w.value='Book' return w;
Sławomir Kudła
  • 243
  • 2
  • 4
  • 14

1 Answers1

1

Case-insensitive search? The idea is that you convert both sides of the comparison to the same case.

That would be:

MATCH (w:item)
WHERE lower(w.value) = 'book'
RETURN w;

The lower() function returns a string in lower case.

Jan Van den bosch
  • 3,542
  • 3
  • 26
  • 38