Skip to content

Instantly share code, notes, and snippets.

@mollyporph
Created January 26, 2015 14:44
Show Gist options
  • Save mollyporph/88332d4fa7a89051bbd4 to your computer and use it in GitHub Desktop.
Save mollyporph/88332d4fa7a89051bbd4 to your computer and use it in GitHub Desktop.
MATCH (selectedSkill:Skill)-[:prerequisite]->(requiredSkills:Skill)
WHERE selectedSkill.ID == "someId"
RETURN (count(requiredSkills) - count(requiredSkills.purchased) == 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment