> match (a:App),(d:Domain) WHERE d.name <> 'MAR' where not (a)-[:LINKED_TO]->(d) return a;
Michael > Am 24.02.2015 um 13:35 schrieb Fabien Bergeret <[email protected]>: > > Dear all, > I'm new to Neo4J. > I have some applications (label App) linked to some domains (label Domain). > An application can have several domains, and a domain contains several > applications. > How can I get all applications that are not linked to a given domain? > > If I do a match (a:App),(d:Domain) where (d.name <> 'MAR') return a; it'll > work for applications linked to only one domain, but will fail if an > application is both linked to MAR and another domain. > I've tried a few things with any, none,... but I can't make it work. > Could you help me on that? > Regards, > > -- > 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 [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <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 [email protected]. For more options, visit https://groups.google.com/d/optout.
