Does anybody know of an efficient way to find out the most recent update time of any document in a database? I tried:

(  for $t in xdmp:directory-properties("/", "infinity")//prop:last-modified
   order by $t descending
     return <node uri="{base-uri ($t)}">{$t}</node>
) [1]

but it seems to have to process every properties document.

-Mike
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to