Loading TOC...

MarkLogic 9 Product Documentation
tieredstorage.partitionQueries

tieredstorage.partitionQueries(
   schema-database-id as (Number|String)
) as Object

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

// Returns all of the queries set for the Query Partitions in 
// the "Schemas database. 

const ts = require('/MarkLogic/tieredstorage');

ts.partitionQueries(xdmp.database('Schemas'));
database('Schemas'))
   

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