1
0
Fork 0
arangodb/Documentation/Books/Users/Aql
Wilfried Goesgens ad0868acb0 Merge pull request #1605 from kibarda/devel
documentation: split Aql High Level Operations (Operations.mdpp) into chapters
2015-12-14 12:27:00 +01:00
..
Advanced.mdpp Remove whitespaces that may irretate our parser, add checks. 2015-12-04 15:17:36 +01:00
ArrayFunctions.mdpp the great rename: array => object, list => array 2014-12-18 22:33:23 +01:00
Basics.mdpp updated keywords list 2015-12-03 12:11:52 +01:00
DataModification.mdpp Fix dangling anchors and add checker script to the make target. 2015-11-26 18:51:39 +01:00
DateFunctions.mdpp added AQL function `IS_DATESTRING` 2015-12-04 10:53:01 +01:00
DocumentFunctions.mdpp Fix dangling anchors and add checker script to the make target. 2015-11-26 18:51:39 +01:00
FulltextFunctions.mdpp Fix dangling anchors and add checker script to the make target. 2015-11-26 18:51:39 +01:00
Functions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
GeoFunctions.mdpp Fix dangling anchors and add checker script to the make target. 2015-11-26 18:51:39 +01:00
GraphFunctions.mdpp Mention that neighbors() and shortest_path() may return null-items. 2015-11-10 15:29:42 +01:00
GraphOperations.mdpp Fix dangling anchors and add checker script to the make target. 2015-11-26 18:51:39 +01:00
GraphTraversals.mdpp Add crosslink to CombiningGraphTraversals.mdpp 2015-12-09 10:17:08 +01:00
Graphs.mdpp Minor documentation updates 2015-12-03 17:02:08 +01:00
Invoke.mdpp Modify simple aql 2015-12-08 15:33:37 +01:00
MiscellaneousFunctions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
NumericFunctions.mdpp added POW function to docs 2015-12-02 17:19:17 +01:00
Operations.mdpp documentation: split Aql High Level Operations (Operations.mdpp) 2015-12-12 14:09:57 +01:00
Operators.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
Optimizer.mdpp added optimizer rule `sort-in-values` 2015-12-13 23:33:44 +01:00
QueryCache.mdpp updated documentation 2015-07-13 10:55:57 +02:00
QueryResults.mdpp the great rename: array => object, list => array 2014-12-18 22:33:23 +01:00
README.mdpp Fixed some further language bugs in the doc. 2014-08-05 09:21:19 +02:00
StringFunctions.mdpp Documentation: corrected typos and case, prefer American over British English 2015-09-01 17:19:13 +02:00
TypeCastFunctions.mdpp updated docs 2015-12-04 11:16:02 +01: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).