1
0
Fork 0
arangodb/Documentation/Books/Users/Aql
Jan Steemann a7b51c39da added tests 2015-09-08 17:34:14 +02:00
..
Advanced.mdpp updated documentation 2015-08-20 20:35:28 +02:00
ArrayFunctions.mdpp
Basics.mdpp Documentation: unify whitespace to spaces 2015-09-01 17:19:12 +02:00
DataModification.mdpp
DateFunctions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
DocumentFunctions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
FulltextFunctions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
Functions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
GeoFunctions.mdpp
GraphFunctions.mdpp
GraphOperations.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
Invoke.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
MiscellaneousFunctions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
NumericFunctions.mdpp
Operations.mdpp added tests 2015-09-08 17:34:14 +02:00
Operators.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
Optimizer.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
QueryCache.mdpp updated documentation 2015-07-13 10:55:57 +02:00
QueryResults.mdpp
README.mdpp
StringFunctions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
TypeCastFunctions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +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 page [AQL Examples](../AqlExamples/README.md).