-
Notifications
You must be signed in to change notification settings - Fork 35
Add 42NAB #397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add 42NAB #397
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
81fef95
Add 42NAB
hvub f2ebe78
Apply suggestion from @renetapopova
hvub c22fe6a
Apply suggestion from @renetapopova
hvub 71ab339
Apply suggestion from @renetapopova
hvub f2e0cae
Apply suggestion from @renetapopova
hvub 15c4955
remaining review feedback
hvub 37365f7
regenerate the index file
renetapopova 0cfe605
update the label
renetapopova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| :page-role: new-2025.11 | ||
| = 42NAB | ||
|
|
||
| == Status description | ||
| error: syntax error or access rule violation - not supported standalone call. `WHERE` is not supported in a standalone call. Use `CALL ... YIELD ... WHERE ... RETURN ...` instead. | ||
|
|
||
| == Explanation | ||
| A standalone call of a procedure does not support a `WHERE` clause, i.e., it does not support the filtering of the procedure result. | ||
| Either remove the `WHERE` clause or add a `RETURN` clause after the call to turn it into an in-query call. | ||
|
|
||
| == Example scenario | ||
| For example, trying to filter the result of the procedure `db.labels()` in a standalone call: | ||
|
|
||
| [source,cypher] | ||
| ---- | ||
| CALL db.labels() YIELD label WHERE label <> 'A' | ||
| ---- | ||
|
|
||
| An error will be thrown with GQLSTATUS 42NAB and the following status description: | ||
|
|
||
| [source] | ||
| ---- | ||
| error: syntax error or access rule violation - not supported standalone call. WHERE is not supported in a standalone call. Use `CALL ... YIELD ... WHERE ... RETURN ...` instead. | ||
| ---- | ||
|
|
||
| == Possible solutions | ||
|
|
||
| You can abstain from filtering to get a valid query: | ||
|
|
||
| [source,cypher] | ||
| ---- | ||
| CALL db.labels() YIELD label | ||
| ---- | ||
|
|
||
| However, if you still want to filter the result of the procedure `db.labels()`, you can add a `RETURN` clause: | ||
|
|
||
| .Query | ||
| [source, cypher] | ||
| ---- | ||
| CALL db.labels() YIELD label WHERE label <> 'A' RETURN label | ||
| ---- | ||
|
|
||
| ifndef::backend-pdf[] | ||
| [discrete.glossary] | ||
| == Glossary | ||
|
|
||
| include::partial$glossary.adoc[] | ||
| endif::[] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.