我想知道一个文档的当前时间戳,我还需要如何在更新时找到相同文档的时间戳
有可能吗?
发布于 2020-01-07 19:55:24
你看过这里吗,听起来像你需要的:https://docs.marklogic.com/xdmp:document-timestamp
xdmp:document-timestamp(
$uri as xs:string
) as xs:integer?摘要
返回文档、锁或属性的最近可见更新的时间戳。如果不存在文档、锁或属性,则返回空序列。
$uri是文档、锁或属性的URI。
示例:
xdmp:document-timestamp("example.xml")
=> 13384772182196660https://stackoverflow.com/questions/59626671
复制相似问题