7 Jan
2015
7 Jan
'15
7:51 a.m.
Hi all, I was trying to profile updating expression, and the result is [XUST0001] prof:time(value[,cache[,label]]): no updating expression allowed. Is this a desired behavior ? Cheers, Jean-Marc
8 Jan
8 Jan
3:23 p.m.
Hi Jean-Marc,
I was trying to profile updating expression, and the result is [XUST0001] prof:time(value[,cache[,label]]): no updating expression allowed. Is this a desired behavior ?
This is indeed the expected behavior. The reason is that updates will always be performed after the query itself has been evaluated, which is why the time for performing the update cannot be measured within XQuery. See [1] for more details. Best, Christian [1] http://docs.basex.org/wiki/XQuery_Update#Concepts
4109
Age (days ago)
4110
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christian Grün -
jean-marc Mercier