1
0
Fork 0
Commit Graph

9 Commits

Author SHA1 Message Date
Jan Steemann e359dc29dd INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:

    RETURN mygroup:myfunc()

The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.

    { mygroup:myfunc ? mygroup:myfunc }

The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.

Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann 354f8018cc centralise AQL tests 2013-07-17 23:29:07 +02:00
Jan Steemann a0c5d1f7b4 simplify AQL query calls 2013-07-17 21:22:24 +02:00
Frank Celler 828b939053 fixed isolates, made ArangoError internal 2013-04-10 21:22:09 +02:00
Jan Steemann 909e46c671 moved global AQL functions to internal module 2013-01-25 09:34:51 +01:00
Jan Steemann 752b9a4846 fixed tests 2013-01-18 03:45:24 +01:00
Jan Steemann 8e834971fd internally changed the query execution, adjusted query tests 2012-05-21 10:31:05 +02:00
Jan Steemann 92392b6c79 fixed tests 2012-05-18 16:05:28 +02:00
Jan Steemann 77a2d45282 fixed ternary operator in AQL, added test cases 2012-05-16 15:15:51 +02:00