doc/book/en/annexes/rql/language.rst
branchstable
changeset 7081 6beb7f1e05fa
parent 6324 bdb85e3602c8
child 7529 2fdc310be7cd
--- a/doc/book/en/annexes/rql/language.rst	Tue Mar 15 09:41:45 2011 +0100
+++ b/doc/book/en/annexes/rql/language.rst	Tue Mar 15 10:38:02 2011 +0100
@@ -153,7 +153,7 @@
 - Aggregate Functions: COUNT, MIN, MAX, AVG, SUM, GROUP_CONCAT
 
 Having
-``````
+```````
 
 The HAVING clause, as in SQL, has been originally introduced to restrict a query
 according to value returned by an aggregate function, e.g.::
@@ -214,7 +214,12 @@
 
 
 Exists
-``````
+```````
+
+You can use `EXISTS` when you want to know if some expression is true and do not
+need the complete set of elements that make it true. Testing for existence is
+much faster than fetching the complete set of results.
+
 ::
 
     Any X ORDERBY PN,N