info:ticket( $ticket-id as xs:string+ ) as element(info:ticket)+
[DEPRECATED] This function returns a ticket element containing the status information for a long-running process.
Parameters | |
---|---|
ticket-id | The id of the ticket associated with the long-running process. |
xquery version "1.0-ml"; import module namespace info = "http://marklogic.com/appservices/infostudio" at "/MarkLogic/appservices/infostudio/info.xqy"; let $ticket := info:load("C:\docs\mydocs", (), (), "testDB") return ( "Loaded the testDB database with the files from", fn:data(info:ticket($ticket)//directory) ) (: Returns the directory that was loaded into the testDB database. :)