Skip to content

Instantly share code, notes, and snippets.

@qmaruf
Created May 16, 2014 16:03
Show Gist options
  • Save qmaruf/f5dab6af475dc80318c3 to your computer and use it in GitHub Desktop.
Save qmaruf/f5dab6af475dc80318c3 to your computer and use it in GitHub Desktop.
neo4j
#count node
START n=node(*)
RETURN count(n)
#count relationship
START r=relationship(*)
RETURN count(r)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment