> Does anybody know of an efficient way to find out the most
> recent update time of any document in a database? I tried:
I think you'd have to maintain your own "last-modified.xml" document and
update it when you do another relevant update. It might be possible to
do this with a trigger. I don't personally use them so I don't know if
there'd be quirks.
> ( 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.
Correct.
-Matt
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general