Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

WhereClause

Filter intermediate results.


Syntax

WhereClause

graphics/WhereClause.png

Expr

Top of page

Description

A WhereClause is part of FLWOR and FLWU expressions and contains an expression. The where clause acts as a filter for the tuples previously generated by any for and let clauses. For each of these tuples the expression is evaluated. If the resulting effective boolean value is true, the tuple is retained and used in the return clause, otherwise the tuple is discarded.

Top of page

Example

See FLWORExpr for examples.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

This construct is also related to the following construct(s):

ForClause LetClause

Top of page