Changes

Jump to navigation Jump to search
18 bytes added ,  17:27, 31 January 2019
no edit summary
|- valign="top"
| {{Code|-c<input>}}
| Executes [[Commandscommands]]:
* Several commands in the input can be separated by semicolons ({{Code|;}}).
* If the specified input is a valid URL or file reference, this file will be evaluated as [[Commands#Command_Scripts|Command Script]].
|- valign="top"
| {{Code|-c<cmd>}}
| Executes [[Commandscommands]]:
* Several commands in the input can be separated by semicolons ({{Code|;}}).
* If the specified input is a valid URL or file reference, this file will be evaluated as [[Commands#Command_Scripts|Command Script]].
|- valign="top"
| {{Code|-S}}
| Starts the server as service (i.e., in the background). Use [[YAJSW]], or start BaseX as an ordinary background process, to get more options.
|
|
|- valign="top"
| {{Code|-z}}
| Does not generate any Prevents the generation of [[Logging|log files]].
| <code>[[Options#LOG|LOG]]</code>
| <code>true</code>
Usage: basexclient [-bcdiInopPqrRsUvVwxz] [input]
[input] XQuery or command file, or query string
-b<argspars> Bind external query variables
-c<input> Execute commands from file or string
-d Toggle debugging output
-I<input> Bind input string to context
-n<name> Set server (host) name
-o<pathfile> Write output to local file
-p<port> Set server port
-P<pass> Specify user password
-r<num> Run query multiple times
-R Toggle query execution
-s<argspars> Set serialization parameters
-U<name> Specify user name
-v Toggle output of progress info
| {{Code|[input]}}
|Evaluates the specified input:
* The input string may point to an existing file. If the file suffix is {{Code|.bxs}}, the file contents will be evaluated as [[Commands#Basics|Command Script]]; otherwise, it any other file content will be evaluated as XQuery expression.
* Otherwise, the input string itself is evaluated as XQuery expression.
|
|- valign="top"
| {{Code|-c&lt;input&gt;}}
| Executes [[Commandscommands]]:
* Several commands in the input can be separated by semicolons ({{Code|;}}).
* If the specified input is a valid file reference or URL, its content will be executed instead. Empty lines and lines starting with the number sign {{Code|#}} will be ignored.
|
|- valign="top"
| {{Code|-p&lt;numport&gt;}}
| Specifies the port on which the server is running.
| <code>[[Options#PORT|PORT]]</code>
|- valign="top"
| {{Code|-c&lt;cmd&gt;}}
| Executes [[Commandscommands]]:
* Several commands in the input can be separated by semicolons ({{Code|;}}).
* If the specified input is a valid URL or file reference, this file will be evaluated as [[Commands#Command_Scripts|Command Script]].
|- valign="top"
| {{Code|-S}}
| Starts the server as service (i.e., in the background). Use [[YAJSW]], or start BaseX as an ordinary background process, to get more options.
|
|
|- valign="top"
| {{Code|-z}}
| Does not generate any Prevents the generation of [[Logging|log files]].
| <code>[[Options#LOG|LOG]]</code>
|
administrator, editor
162

edits

Navigation menu