Changes

Jump to navigation Jump to search
41 bytes added ,  12:53, 8 July 2020
no edit summary
The following options are available for the standalone [[Command-Line Client]]:
<presyntaxhighlight>
$ basex -h
BaseX [Standalone]
-x Toggle output of query plan
-z Toggle output of query result
</presyntaxhighlight>
Further details are listed in the following table. If an equivalent database option exists (which can be specified via the <code>[[Commands#SET|SET]]</code> command), it is listed as well.
The following options are available for the standalone [[GUI|Graphical User Interface]]:
<presyntaxhighlight>
$ basexgui -h
BaseX [GUI]
[files] Open specified files
-d Enable debugging
</presyntaxhighlight>
You can pass one or more files as parameters. If an XML document is specified, a database instance can be created from this file. Other files are opened in the editor.
The following options are available for the [[Database Server]]:
<presyntaxhighlight>
$ basexserver -h
BaseX [Server]
-S Start as service
-z Suppress logging
</presyntaxhighlight>
Details on all options are listed in the following table (equivalent database options are shown in the table as well).
If the [[Database Server|Database Client]] is executed, the user name and password will be requested on command-line. The initial user/password combination is '''admin'''/'''admin'''. The following options are available:
<presyntaxhighlight>
$ basexclient -h
BaseX [Client]
-x Toggle output of query plan
-z Toggle output of query result
</presyntaxhighlight>
See the following table for details (equivalent database options are shown in the table as well).
|- valign="top"
| {{Code|-b&lt;args&gt;}}
| Binds external variables to XQuery expressions. This flag may be specified multiple times. Variables names and their values are delimited by equality signs (<code>=</code>). The names may be optionally prefixed with dollar signs. If a variable uses a namespace different to the default namespace, it can be specified with the [http://www.jclark.com/xml/xmlns.htm Clark Notation] or [httphttps://www.w3.org/TR/xquery-30/#id-basics Expanded QName Notation].
| {{Option|BINDINGS}}
|
=HTTP Server=
 
{{Mark|Introduced with Version 9.3:}} {{Code|-g}} option (GZIP enable support)
The following options are available for the [[Web Application|HTTP Server]]:
<presyntaxhighlight>
$ basexhttp -h
BaseX [HTTP]
-U<name> Specify user name
-z Suppress logging
</presyntaxhighlight>
The meaning of all options is listed in the following table (equivalent database options are shown in the table as well).
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu