http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl ZC

Module Description
Before using any of the functions below please remember to import the module namespace:
import module namespace ddl = "http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";

This modules defines a set of functions for managing persistent, ordered, and updatable collections.

Please refer to our documentation for more information about the lifecycle management and the manipulation of such collections.

Author:

Matthias Brantner, David Graf, Till Westmann, Markos Zaharioudakis

XQuery version and encoding for this module:

xquery version "3.0" encoding "utf-8";

Module Resources
Related Documentation

For more details please also see:

Namespaces
ddl http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl
ver http://www.zorba-xquery.com/options/versioning
zerr http://www.zorba-xquery.com/errors
Function Summary
available-collections ( ) as xs:QName* external
The function returns a sequence of QNames of the collections that are available.
create ( $name as xs:QName ) external
The create function is an updating function which creates the collection with the given expanded QName.
create ( $name as xs:QName, $content as node()* ) external
The create function is an updating function which creates the collection with the given expanded QName.
delete ( $coll as xs:QName ) external
The delete function is an updating function that removes the collection with the given expanded QName.
is-available-collection ( $name as xs:QName ) as xs:boolean external
The function returns true if a collection with the given QName is available.
Functions
available-collections back to 'Function Summary'
declare function ddl:available-collections (
 ) as xs:QName* external

The function returns a sequence of QNames of the collections that are available. The sequence will be empty if there are no collections.

Returns:

create back to 'Function Summary'
declare updating function ddl:create (
            $name as xs:QName 
 ) external

The create function is an updating function which creates the collection with the given expanded QName.

Parameters:
Returns:
Errors:

create back to 'Function Summary'
declare updating function ddl:create (
            $name as xs:QName, 
            $content as node()* 
 ) external

The create function is an updating function which creates the collection with the given expanded QName. Moreover, it adds copies of the sequence $content to the new collection.

Parameters:
Returns:
Errors:
See:

delete back to 'Function Summary'
declare updating function ddl:delete (
            $coll as xs:QName 
 ) external

The delete function is an updating function that removes the collection with the given expanded QName.

Parameters:
Returns:
Errors:

is-available-collection back to 'Function Summary'
declare function ddl:is-available-collection (
            $name as xs:QName 
 ) as xs:boolean external

The function returns true if a collection with the given QName is available.

Parameters:
Returns:

blog comments powered by Disqus