Created
July 26, 2016 18:03
-
-
Save ableasdale/ce624b9985160ccb7303d8a016a76961 to your computer and use it in GitHub Desktop.
MarkLogic: Forest statuses for all forests in a given database (with an XPath to the Forest name)
This file contains hidden or 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
xquery version "1.0-ml"; | |
declare namespace fs = "http://marklogic.com/xdmp/status/forest"; | |
xdmp:forest-status(xdmp:database-forests(xdmp:database("test")))/fs:forest-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment