>,=
is working but less than operator is not working in cypher neo4j.
What may be the reason ?
From your comment
MATCH (n:ProjectField) Where n.value < "41" RETURN n output: "value": "100" "value": "40214" "value": "12345"
i assume the values you compare are string values (hece the ""
).
In that case cypher uses string comparison and since 1 is smaller than 4 in the first char it think 100 is smaller than 41.
You can try to update the string numbers to integers or compare the integervalues of n.value
using toInteger
.