Created
December 16, 2015 19:17
-
-
Save tternquist/57db582ab721d94778bf to your computer and use it in GitHub Desktop.
Get documents that were in system as of time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let $time := xs:dateTime("2015-12-16T17:30:00Z") | |
let $period := cts:period($time) | |
let $query := cts:period-range-query("system","ALN_CONTAINS", $period) | |
return cts:search(/,$query) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment