tieredstorage.partitionDeleteQuery( schema-database-id as (Number|String), partition-number as Number ) as null
This function deletes the query from the specified partition. It will not throw any error if query is not found.
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 delete the query. |
const ts = require('/MarkLogic/tieredstorage'); ts.partitionDeleteQuery(xdmp.database('Schemas'), 1);