Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

UpdatingFunctionDecl

Declare an updating function.


Syntax

graphics/UpdatingFunctionDecl.png

Top of page

Description

An UpdatingFunctionDecl declares an updating function. The declaration differs from the declaration of a non-updating function by the additional "updating" keyword, the absence of a result type specification, and an UpdateSequence instead of a result expression.

The UpdatingFunctionDecl occurs in the prolog of an update statement or a library module declaration. Although it is also syntactically valid in the prolog of a query, it is useless in queries because it can only be invoked from updating expressions.

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page