Changes

Jump to navigation Jump to search
36 bytes removed ,  20:22, 18 July 2022
no edit summary
|-
| '''Summary'''
| This function executes a [[Commands|command]] and returns the result as a string. The parameter {{Code|$id}} contains the session id ID returned by [[Client Module#client:connect{{Function||client:connect]]}}. The {{Code|$command}} argument represents a single command, which will be executed by the server.
|-
|'''Errors'''
|-
| '''Summary'''
|Evaluates a query and returns the result as sequence. The parameter {{Code|$id}} contains the session id returned by [[Client Module#client:connect{{Function||client:connect]]}}, and {{Code|$query}} represents the query string, which will be evaluated by the server.<br />Variables and the context item can be declared via {{Code|$bindings}}. The specified keys must be QNames or strings:
* If a key is a QName, it will be directly adopted as variable name.
* If a key is a string, it may be prefixed with a dollar sign. A namespace can be specified using the [http://www.jclark.com/xml/xmlns.htm Clark Notation]. If the specified string is empty, the value will be bound to the context item.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu