1
0
Fork 0
arangodb/Documentation/Books/AQL
Simran Brucherseifer 8b63f116e9 Docs: improve AQL LIMIT and RETURN descriptions 2017-02-15 19:35:24 +01:00
..
Advanced Docs: Use standard Markdown notation for headlines and disable MarkdownPP 2016-12-06 02:41:58 +01:00
Examples Docs: improve AQL LIMIT and RETURN descriptions 2017-02-15 19:35:24 +01:00
ExecutionAndPerformance fixed code of some examples 2017-02-13 08:21:28 +01:00
Extending Docs: Use standard Markdown notation for headlines and disable MarkdownPP 2016-12-06 02:41:58 +01:00
Functions Docs: Fix two minor typos 2016-12-22 15:17:32 +01:00
Fundamentals Docs: Use standard Markdown notation for headlines and disable MarkdownPP 2016-12-06 02:41:58 +01:00
Graphs add explanation about the differences on path-filters vs. edge/vertex filters 2016-12-08 19:47:10 +01:00
Invocation updated documentation 2017-01-30 16:38:20 +01:00
Operations Docs: improve AQL LIMIT and RETURN descriptions 2017-02-15 19:35:24 +01:00
styles Docs: Gitbook 3 upgrade 2016-12-08 01:34:54 +01:00
CommonErrors.mdpp Docs: Use standard Markdown notation for headlines and disable MarkdownPP 2016-12-06 02:41:58 +01:00
DataQueries.mdpp Docs: Use standard Markdown notation for headlines and disable MarkdownPP 2016-12-06 02:41:58 +01:00
HEADER.html Docs: Gitbook 3 upgrade 2016-12-08 01:34:54 +01:00
Operators.mdpp updated documentation 2017-01-30 17:30:58 +01:00
README.mdpp Docs: Use standard Markdown notation for headlines and disable MarkdownPP 2016-12-06 02:41:58 +01:00
SUMMARY.md Make DataModification -> DataQueries in docs 2016-06-14 02:19:46 +02:00
book.json Docs: Gitbook 3 upgrade 2016-12-08 01:34:54 +01:00

README.mdpp

Introduction
============

The ArangoDB query language (AQL) can be used to retrieve and modify data that 
are stored in ArangoDB. The general workflow when executing a query is as follows:

- A client application ships an AQL query to the ArangoDB server. The query text
  contains everything ArangoDB needs to compile the result set
- ArangoDB will parse the query, execute it and compile the results. If the
  query is invalid or cannot be executed, the server will return an error that
  the client can process and react to. If the query can be executed
  successfully, the server will return the query results (if any) to the client

AQL is mainly a declarative language, meaning that a query expresses what result
should be achieved but not how it should be achieved. AQL aims to be
human-readable and therefore uses keywords from the English language. Another
design goal of AQL was client independency, meaning that the language and syntax
are the same for all clients, no matter what programming language the clients
may use.  Further design goals of AQL were the support of complex query patterns
and the different data models ArangoDB offers.

In its purpose, AQL is similar to the Structured Query Language (SQL). AQL supports 
reading and modifying collection data, but it doesn't support data-definition
operations such as creating and dropping databases, collections and indexes.
It is a pure data manipulation language (DML), not a data definition language
(DDL) or a data control language (DCL).

The syntax of AQL queries is different to SQL, even if some keywords overlap.
Nevertheless, AQL should be easy to understand for anyone with an SQL background.

For some example queries, please refer to the pages [Data Queries](DataQueries.md)
and [Usual query patterns](Examples/README.md).