Loading TOC...

MarkLogic Server 11.0 Product Documentation
tieredstorage:partition-queries

tieredstorage:partition-queries(
   $schema-database-id as xs:unsignedLong
) as map:map

Summary

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.

Example


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. :) 
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.