Skip to content

Instantly share code, notes, and snippets.

@Iknewthisguy
Created July 26, 2012 21:20
Show Gist options
  • Save Iknewthisguy/3184592 to your computer and use it in GitHub Desktop.
Save Iknewthisguy/3184592 to your computer and use it in GitHub Desktop.
Limiting Cypher Query Results
neo4j-sh (0)$ START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE (NOT(n.blocked_friends)) OR (NOT(n.pending_inner)) RETURN x
==> SyntaxException: unknown function
==> "START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE (NOT(n.blocked_friends)) OR (NOT(n.pending_inner)) RETURN x"
==> ^
neo4j-sh (0)$ START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT(n.blocked_friends) OR NOT(n.pending_inner) RETURN x
==> SyntaxException: unknown function
==> "START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT(n.blocked_friends) OR NOT(n.pending_inner) RETURN x"
==> ^
neo4j-sh (0)$ START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT(n.blocked_friends) RETURN x
==> SyntaxException: unknown function
==> "START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT(n.blocked_friends) RETURN x"
==> ^
neo4j-sh (0)$ START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE (NOT(n.blocked_friends)) RETURN x
==> SyntaxException: unknown function
==> "START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE (NOT(n.blocked_friends)) RETURN x"
==> ^
neo4j-sh (0)$ START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT(n.blocked_friends AND n.pending_inner) RETURN x
==> SyntaxException: Unclosed parenthesis
==> "START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT(n.blocked_friends AND n.pending_inner) RETURN x"
==> ^
neo4j-sh (0)$ START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT(n.blocked_friends) RETURN x
==> SyntaxException: unknown function
==> "START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT(n.blocked_friends) RETURN x"
==> ^
neo4j-sh (0)$ START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE (NOT(n.blocked_friends)) RETURN x
==> SyntaxException: unknown function
==> "START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE (NOT(n.blocked_friends)) RETURN x"
==> ^
neo4j-sh (0)$ START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT((n.blocked_friends) AND (n.pending_inner)) RETURN x
==> SyntaxException: Unclosed parenthesis
==> "START n=node (4) MATCH (n)-[:`friends`]->(x) WHERE NOT((n.blocked_friends) AND (n.pending_inner)) RETURN x"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment