We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd84992 commit 4b05346Copy full SHA for 4b05346
modules/ROOT/pages/reference/directives/cypher.adoc
@@ -53,7 +53,7 @@ type User {
53
type Query {
54
me: User @cypher(
55
statement: """
56
- MATCH (user:User {id: $auth.jwt.sub})
+ MATCH (user:User {id: $jwt.sub})
57
RETURN user
58
""",
59
columnName: "user"
@@ -84,7 +84,7 @@ Use in cypher query:
84
----
85
86
userPosts: [Post] @cypher(statement: """
87
- MATCH (:User {id: $cypherParams.userId})-[:POSTED]->(p:Post)
+ MATCH (:User {id: $userId})-[:POSTED]->(p:Post)
88
RETURN p
89
""", columnName: "p")
90
}
0 commit comments