info:tickets(
[$database as xs:string*],
[$status as xs:string*],
[$custom-query as schema-element(cts:query)?]
) as xs:string*
Summary
[DEPRECATED]
This function returns a sequence of ticket IDs, optionally narrowed by database name.
Parameters
database
A database name to narrow the selection of tickets to those associated with that database.
status
A status name to narrow the selection of tickets to those with the
specified status.
The valid status values are "aborted", "active", "cancelled",
"cleared", "completed", "inactive", "unloading", "unloaded", and
"unload-aborted".
custom-query
Some custom query to further narrow down the list of tickets returned.
Example
xquery version "1.0-ml";
import module namespace info = "http://marklogic.com/appservices/infostudio"
at "/MarkLogic/appservices/infostudio/info.xqy";
info:tickets()
(: Returns the IDs of all of the tickets generated from loads into all of the databases. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.