Hi..! I need to write a XQuery function which would receive document URI, one or more collections as parameter and we need to remove document from all the collections and then return all the collections to which the document still belongs.
I am using xdmp:document-remove-collections to remove collections and then using xdmp:document-get-collections to retrieve the collections. Because the "xdmp:document-remove-collections" function changes are still to not commited, When I retrieve the collections it still list all the collections including the collections that were removed. Do we have something like a commit in XQuery which could solve my problem. Thanks Pradeep Maddireddy
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
