This module is part of Zorba's XQuery Data Definition Facility. All the integrity constraints managed by this module have to be pre-declared in the prolog of a module. Please refer to the general documentation for more information and examples.
activate
($name as xs:QName) external
Activates an integrity constraint in the dynamic context. |
activated-integrity-constraints
() as xs:QName* external
Gets the integrity constraints that are activated, if any. |
deactivate
($name as xs:QName) external
Deactivates the integrity constraint. |
declared-integrity-constraints
() as xs:QName* external
Gets the sequence of QNames representing the integrity constraints that have been declared in the prolog of the static context. |
is-activated-integrity-constraint
($name as xs:QName) as xs:boolean external
Gets whether an integrity constraints is activated. |
is-declared-integrity-constraint
($name as xs:QName) as xs:boolean external
Gets whether an integrity constraint is declared in the prolog of the static context. |
declare function icddl:activate($name as xs:QName) external
upd:activateIntegrityConstraint($name)
update primitive.declare function icddl:activated-integrity-constraints() as xs:QName* external
declare function icddl:deactivate($name as xs:QName) external
declare function icddl:declared-integrity-constraints() as xs:QName* external
declare function icddl:is-activated-integrity-constraint($name as xs:QName) as xs:boolean external
declare function icddl:is-declared-integrity-constraint($name as xs:QName) as xs:boolean external