tieredstorage:partition-queries( $schema-database-id as xs:unsignedLong ) as map:map
This function returns all the queries in this schema database.
Parameters | |
---|---|
schema-database-id | ID of the Schema database used by the database in which the partitions reside. |
xquery version "1.0-ml"; import module namespace ts="http://marklogic.com/xdmp/tieredstorage" at "/MarkLogic/tieredstorage.xqy"; ts:partition-queries(xdmp:database("Schemas")) (: Returns all of the queries set for the Query Partitions in the "Schemas database. :)