{ "ns" : "http://zorba.io/modules/store/dynamic/collections/w3c/ddl", "description" : " This modules defines a set of functions for managing persistent, ordered,\n and updatable collections.\n
\n Such collections are identified by a URI as defined in the XQuery\n specification.\n However, please note that we do not advise users to use collections\n identified by URIs.\n Instead, we refer to the\n data lifecycle documentation.\n It gives an overview of several ways to work with collections, documents,\n and other data-structures.\n", "sees" : [ "
The function returns a sequence of URIs of the collections that are\n available.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ ], "returns" : { "type" : "xs:string*", "description" : "A sequence of URIs, one for each available collection, or an emtpy sequence." }, "errors" : [ ] }, { "arity" : 1, "name" : "create", "qname" : "ddl:create", "signature" : "($uri as xs:string)", "description" : " Creates the collection with the given URI.\n", "summary" : "Creates the collection with the given URI.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "$uri
already exists.Creates the collection with the given URI and adds copies of the given\n sequence to the new collection.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "$uri
and inserts $content
into it." }, "errors" : [ "$uri
already exists.Deletes the collection with the given URI.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "$uri
." }, "errors" : [ "$uri
.THIS FUNCTION IS FOR INTERNAL USE ONLY.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:QName", "occurence" : null, "description" : "$name
" }, "errors" : [ ] }, { "arity" : 1, "name" : "is-available-collection", "qname" : "ddl:is-available-collection", "signature" : "($uri as xs:string) as xs:boolean", "description" : " Checks whether a collection with the given URI exists.\n", "summary" : "Checks whether a collection with the given URI exists.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "THIS FUNCTION IS FOR INTERNAL USE ONLY.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "