MarkLogic Server 11.0 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'))
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy