Thanks for answer. I thank about something like that ;( Marc
Le mercredi 23 juillet 2014 15:35:42, Christian Grün a écrit :
Hi Marc,
Is there a way to flush the pending update list because I know that there is no reverse action on it.
I am sorry there's no way to do so. Flushing updates would mean that the databases would be changed during the execution of a query, and that subsequent read-only operations in the query would work on other data sets.
One way out is to use BaseX command scripts [1]. We often generate such scripts via XQuery, which can then be evaluated in a second step.
Hope this helps, Christian
[1] http://docs.basex.org/wiki/Commands#Command_Scripts
Without this I do one query for each updated collection documents.
Marc