Loading TOC...

tieredstorage:partition-get-query

tieredstorage:partition-get-query(
   $schema-database-id as xs:unsignedLong,
   $partition-number as xs:unsignedInt
) 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


xquery version "1.0-ml"; 
 
import module namespace ts="http://marklogic.com/xdmp/tieredstorage" 
      at "/MarkLogic/tieredstorage.xqy";

ts:partition-get-query(xdmp:database("Schemas"), 1)

(: Returns the query set for partition 1 in the "Schemas database. :) 
    

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy