1
0
Fork 0
arangodb/Documentation/Books/AQL
Simran Brucherseifer 6cd07dddb7 Add COUNT() and RANGE() to documentation, some improvements 2016-06-03 19:03:36 +02:00
..
Advanced Improve array operators documentation 2016-05-18 03:20:09 +02:00
Examples Documentation corrections (mostly AQL) 2016-05-24 18:46:02 +02:00
ExecutionAndPerformance Update links in AQL docs, some reformatting 2016-05-18 22:39:05 +02:00
Extending Documentation corrections (mostly AQL) 2016-05-24 18:46:02 +02:00
Functions Add COUNT() and RANGE() to documentation, some improvements 2016-06-03 19:03:36 +02:00
Fundamentals Rename Users documentation to Manual 2016-05-24 16:09:21 +02:00
Graphs Fix Links 2016-05-24 17:47:45 +02:00
Invocation Update links in AQL docs, some reformatting 2016-05-18 22:39:05 +02:00
Operations Improve documention (mostly FILTER) 2016-05-25 17:44:17 +02:00
styles Updated and fixed docs header 2016-05-30 15:30:37 +02:00
CommonErrors.mdpp Update links in AQL docs, some reformatting 2016-05-18 22:39:05 +02:00
DataModification.mdpp Add COUNT() and RANGE() to documentation, some improvements 2016-06-03 19:03:36 +02:00
HEADER.html Updated and fixed docs header 2016-05-30 15:30:37 +02:00
Operators.mdpp Add COUNT() and RANGE() to documentation, some improvements 2016-06-03 19:03:36 +02:00
README.mdpp Update links in AQL docs, some reformatting 2016-05-18 22:39:05 +02:00
SUMMARY.md Documentation corrections (mostly AQL) 2016-05-24 18:46:02 +02:00
book.json Properly reference that we need 2.6.7 without re-installing gitbook over and over. 2016-05-31 21:53:00 +02:00

README.mdpp

!CHAPTER 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.

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 Modification Queries](DataModification.md)  and 
[Usual query patterns](Examples/README.md).