Loading TOC...

tieredstorage.partitionGetQuery

tieredstorage.partitionGetQuery(
   schema-database-id as (Number|String),
   partition-number as Number
) as cts.query?

Summary

This function returns the query of a partition specified by the partition number.

Parameters
schema-database-id ID of the Schema database used by the database in which the partition resides.
partition-number The partition number from which to return the query.

Example

// Returns the query set for partition 1 in the "Schemas database.

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

ts.partitionGetQuery(xdmp.database('Schemas'), 1);
   

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