[Neo4j] neo4jphp and some cypher question
andres.taylor at neotechnology.com
Mon Sep 26 13:43:10 CEST 2011
On Sun, Sep 25, 2011 at 11:13 PM, Adriano Henrique de Almeida <
adrianoalmeida7 at gmail.com> wrote:
> Hi Filip,
> if you need only those nodes who have the Geemente property, you can
> it on the where clause. Example:
> where a.Geemente and a.Geemente = 'Antwerpen'
Another alternative, depending on what you are looking for, is to do this:
WHERE a.Geemente? = 'Antwerpen'
This means - if a has a property Geemente, it should be Antwerpen. But nodes
without the property are still returned.
Both are valid, it's just a matter of what you need.
More information about the User