1
0
Fork 0
arangodb/Documentation/Books/AQL
Simran Brucherseifer e25c45dbe2 Use camelCase for variable-names in AQL 2016-06-22 15:08:40 +02:00
..
Advanced Minor documentation improvements 2016-06-14 02:19:46 +02:00
Examples
ExecutionAndPerformance Reflect renames of startup options in docs 2016-06-20 11:38:01 +02:00
Extending Minor documentation improvements 2016-06-14 02:19:46 +02:00
Functions renamed REGEX_MATCH to REGEX_TEST 2016-06-06 23:37:29 +02:00
Fundamentals added SHORTEST_PATH to keywords list 2016-06-06 23:54:43 +02:00
Graphs - add test whether all images are referenced 2016-06-22 11:47:06 +02:00
Invocation Improve AQL invocation docs 2016-06-22 15:08:40 +02:00
Operations Use camelCase for variable-names in AQL 2016-06-22 15:08:40 +02:00
styles Fix docu header css 2016-06-20 22:27:13 +02:00
CommonErrors.mdpp
DataQueries.mdpp Use camelCase for variable-names in AQL 2016-06-22 15:08:40 +02:00
HEADER.html Don't ever use IDs for styling 2016-06-17 17:27:49 +02:00
Operators.mdpp Use camelCase for variable-names in AQL 2016-06-22 15:08:40 +02:00
README.mdpp Make DataModification -> DataQueries in docs 2016-06-14 02:19:46 +02:00
SUMMARY.md Make DataModification -> DataQueries in docs 2016-06-14 02:19:46 +02:00
book.json

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