© 2012 triAGENS GmbH | 2012-04-04 21 FOR: List iteration The FOR keyword can be used to iterate over all elements from a list Example (collection-based, collection „users“): FOR u IN users A result document (named: u) is produced on each iteration The above example produces the following result list: [ u1, u2, u3, ..., un ] Note: this is comparable to the following SQL: SELECT * FROM users u In each iteration, the individual element is accessible via its name (u)