Skip to main content


This page describes the concepts used by AQL to run your query. Fully understand these concepts will give you a deeper understanding of how AQL works, and how to write better/more complex AQL queries. The section includes the following pages:

  • Current Row: What is the "current row" in AQL? What are the related concepts to it? How is it used in AQL?
  • Cross-Model Calculation: How to reference columns from multiple models in a single query? How does AQL know which rows to include in your calculation?
  • Grouping and Aggregation: How to access multiple rows from other models? How to aggregate them into a single value?

Let us know what you think about this document :)