http://zorba.io/modules/store/static/integrity-constraints/dml

View as XML or JSON.

This module defines a function to check if an integrity constraint is satisfied. The integrity constraint needs to be declared in the prolog of a module.

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.

Function Summary

check-integrity-constraint ($name as xs:QName) as xs:boolean external

Checks if the specified constraints are valid in the database.

Functions

check-integrity-constraint#1

declare  function icdml:check-integrity-constraint($name as xs:QName) as xs:boolean external
Checks if the specified constraints are valid in the database.

Parameters

name as xs:QName
The name of the integrity constraint to check.

Returns

xs:boolean
true if the constraints are valid; false otherwise.