Changes

Jump to navigation Jump to search
410 bytes added ,  17:24, 25 May 2012
| valign='top' | '''Errors'''
|<b>BXCL0002</b> is raised if the specified session id is unknown.<br/><b>BXCL0003</b> is raised if an error occurs while evaluating the query.<br/>
|-
| valign='top' | '''Examples'''
|The following query performs a query on a first server, the results of which are passed on to a second server:
<pre class="brush:xquery">
let $c1 := client:connect('server1.basex.org', 8080, 'jack', 'C0S19tt2X')
let $c2 := client:connect('server2.basex.org', 8080, 'john', '465wFHe26')
return
for $c in client:query($c1, '1 to 10')
return client:query($c1, $c || '* 2')
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu