Is it possible to have the node property as a json raw string and filter it with cypher? I have a node with some specific properties and metadata (json raw string). I would like to select or filter this metadata property. This is something like this:
START movie=node:TYPE_INDEX(Type = 'MOVIE') // Start with the reference MATCH movie-[t:TAG]->tag WHERE collect(movie.Metadata).RatingPress > 3 RETURN distinct movie.Label
And the metadata looks something like this:
{"RatingPress" : "0","RatingSpectator" : 3"}
I expected to use the collect function to call the property as follows:
collect(movie.Metadata).RatingPress
But of course this fails ...
Is this a way to bind some json string from node property using cypher?
thanks for the help
source share