Your query looks ok, it could be shortened to:

Cypher is case sensitive so perhaps you have a misspelling somewhere?

match (v) where size(v.value) = 1 return v.name

you can check with

match (v) return v.name, size(v.value) limit 20


On Sat, May 5, 2018 at 3:56 PM, Ebtihel Hannachi <hannachi.ebti...@gmail.com
> wrote:

> Hi,
> I am new in graph databases and I need your help, please!
> so I have created a set of nodes, every node has as properties name and an
> array of integers.
> I would like to know how to get all nodes have only a single integer???
> I tried this query but it gave no results "MATCH (v) WITH length(v.value)
> as size WHERE size=1 RETURN v.name".
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to