tieredstorage.partitionQueries( schema-database-id as (Number|String) ) as Object
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. |
// 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'))