infodev:ticket-set-total-documents( $ticket-id as xs:string, $total-documents as xs:unsignedInt ) as empty-sequence()
[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. |
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. :)