AQL Fundamentals
Learn about the core aspects of ArangoDB’s query language, like the structure of queries, the available data types, as well as result and error handling
Query types, whitespace, comments, keywords, and names in the AQL language explained
AQL supports both primitive data types consisting of exactly one value and compound data types comprised of multiple values
Bind parameters allow you to separate the query logic from literal values used in the query and safely use user-provided input for these placeholders
AQL uses a set of rules for equality checks and comparisons that takes both the data types and the actual values into account
You can access collection data by looping over a collection and reading document attributes, with non-existing attributes returning a null
value
Subqueries let you form complex requests and allow you to process more data in with a single query
The result set of an AQL query is always an array of values, even if it returns a single element only
Errors can occur for queries at compile time, like for syntax errors and missing collections, but warnings and errors can also occur during query execution
AQL has restrictions with regards to the complexity of queries and the data they operate on, as well as design limitations to be aware of