-
Notifications
You must be signed in to change notification settings - Fork 7
DOC-721 | Add AQL tutorial (back) #652
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
Conversation
Deploy Preview Available Via |
{{< tab "Java" >}} | ||
```java | ||
String query = "RETURN CONCAT(\"Hello, \", @name)"; | ||
Map<String, Object> bindVars = Collections.singletonMap("name", "AQL"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an error at least with Java 8:
Type mismatch: cannot convert from Map<String,String> to Map<String,Object>
Map<String, String>
OTOH is not accepted by the query() method. The only working type I found so far is Map<String, ? super Object>
...
…tiple start vertices
…ified and the collection isn't otherwise declared (FOR ... IN <coll> etc.)
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: CircleCI.
|
Description
Upstream PRs
Need to generate
arangosh_execute_query_bindvars
example (may use override)Do examples using DOCUMENT() require WITH declaration in cluster? -> No, but needed for start vertex collections if an ID is provided and the collection not otherwise declared