On the node, I have a property that's an array of social networks. I want
to issue a query that says: Find all users whose social_networks property
contains any of the following e.g., Twitter, Facebook, etc.
Would the correct way of executing that search:
* MATCH* (me:User{id: {*me*} })
* MATCH* me-[:FRIENDS]-(user)
* WITH* user.networks as networks
* WHERE* any({*social_network0*} in networks)
*OR* any({*social_network1*} in networks)
* RETURN*
*DISTINCT* user.id as id
* ORDER BY* user.id
* SKIP* {*start*}
* LIMIT* {*limit*}
Let {me} = numerical id
Let {socail_network0} = twitter
Let {socail_network1} = facebook
Let {start} = 0
Let {limit} = 10
Cheers,
--
-Richard L. Burton III
@rburton
--
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.