Loading TOC...

MarkLogic 9 Product Documentation
infodev:ticket-set-total-documents

infodev:ticket-set-total-documents(
   $ticket-id as xs:string,
   $total-documents as xs:unsignedInt
) as empty-sequence()

Summary

[DEPRECATED] This function sets the number of documents to load into the database.

Parameters
ticket-id The id of the ticket.
total-documents The number of documents to load into the database.

Example

  xquery version "1.0-ml"; 

  import module namespace infodev = "http://marklogic.com/appservices/infostudio/dev"
      at "/MarkLogic/appservices/infostudio/infodev.xqy";

  infodev:ticket-set-total-documents("/tickets/ticket/13580249356496860619", 5)

  (: Sets the total-documents value in the ticket to 5. :)
    

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