{ "ns" : "http://zorba.io/modules/store/documents", "description" : " This module defines a set of functions which manage documents that\n are persisted in the store. Specifically, it contains functions\n to put, remove, list, or retrieve documents.\n
\n Please refer to\n our documentation\n for more information about the lifecycle management and manipulation of\n documents.\n", "sees" : [ "
Retrieves a sequence of URIs of documents bound in the store.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ ], "returns" : { "type" : "xs:string*", "description" : "The list of URIs of the available documents in the store or the empty sequence if none." }, "errors" : [ ] }, { "arity" : 1, "name" : "document", "qname" : "doc:document", "signature" : "($uri as xs:string) as document() external", "description" : " Gets the document with the given URI from the store.\n The difference to fn:doc is that this function does not attempt to retrieve\n the resource from the file system or the web before returning it.\n Its only responsibility is to return the document from the store that was\n bound using fn:put or doc:put.\n", "summary" : "Gets the document with the given URI from the store.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "Returns true if a document with the given URI exists in the store.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "doc:document()
function to retrieve the document from the\n store.\n \n The semantics of the function is similar to the fn:put()
\n function.\n The difference is that this function accepts only document nodes as\n parameters.\n Please note that this function does not try to fetch the document from the\n external resource identified by the URI.\n Instead, the file or http-client modules can be used to retrieve the\n resource as string and fn:parse-xml()
can be used to parse the\n string returning a document.\n", "summary" : "
Adds a document to the store.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "Removes the document with the given URI from the store.
", "annotation_str" : "", "annotations" : [ ], "updating" : true, "parameters" : [ { "name" : "uri", "type" : "xs:string", "occurence" : null, "description" : "