# HG changeset patch # User Julien Cristau # Date 1435065451 -7200 # Node ID 279b3662e8f11a4984201e92797ab4523c1b664b # Parent 843e4b3ccfbc869e2be634601d1c340e2076deb8 [doc/book] fix rql syntax examples "Any", not "ANY". "EXISTS" is a function. diff -r 843e4b3ccfbc -r 279b3662e8f1 doc/book/en/annexes/rql/language.rst --- a/doc/book/en/annexes/rql/language.rst Mon Jun 22 12:51:28 2015 +0200 +++ b/doc/book/en/annexes/rql/language.rst Tue Jun 23 15:17:31 2015 +0200 @@ -370,7 +370,7 @@ .. sourcecode:: sql - DISTINCT ANY P WHERE V version_of P + DISTINCT Any P WHERE V version_of P This will work, but is not efficient, as it will use the ``SELECT DISTINCT`` SQL predicate, which needs to retrieve all projects, then @@ -379,7 +379,7 @@ .. sourcecode:: sql - ANY P WHERE EXISTS V version_of P + Any P WHERE EXISTS(V version_of P) You can also use the question mark (`?`) to mark optional relations. This allows