I was trying to xdmp:apply an xdmp:function and got the error "Cannot apply an 
update function from a query". I don't really want to change the calling 
function to an update query because most of the time it will be just a query 
query. 

So I'm wondering what my options are. Am I going to have to xdmp:eval or 
xdmp:invoke the function and declare it to be in a separate transaction? I 
think what I would really like is to be able to declare xdmp:apply to run in a 
separate transaction, but there's probably some good reason why it doesn't 
support that. 

Any insight appreciated.

-Ryan
                                          
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to