Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Last active December 14, 2015 08:38
Show Gist options
  • Save ableasdale/5058735 to your computer and use it in GitHub Desktop.
Save ableasdale/5058735 to your computer and use it in GitHub Desktop.
Using xdmp:forest-rollback to avert a crisis
xquery version "1.0-ml";
xdmp:forest-rollback(
xdmp:database-forests(xdmp:database("YourDatabase")),
xdmp:wallclock-to-timestamp(
xs:dateTime("2013-02-28T17:55:07Z")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment