Changes

Jump to navigation Jump to search
512 bytes added ,  17:45, 29 June 2016
* <code>jobs:list()</code> returns the same job id as [[#jobs:current|jobs:current]] if no other job is running.
* <code>jobs:list()[. != jobs:current()] ! jobs:stop(.)</code> stops and invalidates all asynchronous queries and results except for the current one.
|}
 
==jobs:list-details==
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|jobs:list-details||element(job)*}}<br/>{{Func|jobs:list-details|$id as xs:string|element(job)*}}
|-
| '''Summary'''
|Returns information on all jobs that are currently queued or executed.
|-
| '''Examples'''
|
* <code>jobs:list-details()</code> returns information on the currently running job and possibly others:
<pre class="brush:xml">
<job id="job76" duration="PT0S" type="XQuery">XQUERY jobs:list-details()</job>
</pre>
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu