Hi,
do we have any means in XQuery or with the Base-X API to query the age of a document?
E.g. let's assume we add documents like this: mySession.add(inDocumentRef, new ByteArrayInputStream(inDocument));
Is there any way to query metadata when this document was added to the database (or other metadata, e.g. the size, too)? The background is that I access external content dynamically and I want to refresh data in the DB according to some defined update strategy (e.g. when the document is older than x-days). I want to apply the strategy based on metadata and not on content, so I don't want to query some document specific elements or attributes.
Many thanks in advance! Bodo Hüsemann