WhereClause

Filter intermediate results.


Syntax

WhereClause

graphics/WhereClause.png

Expr

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.

Example

See FLWORExpr for examples.

Related Syntax Constructs

The following construct(s) refer to this construct:

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

ForClause LetClause