aql provides the ability to set and get settings for its environment. These settings can be set via command-line arguments, but can be overridden from within
To get the value of a setting, run:
aql> get <setting>
<setting> is the name of the setting.
The following is an example of getting the setting for
aql> get output
OUTPUT = TABLE
To set the value of a setting, run:
aql> set <setting> <value>
<setting>is the name of the setting.
<value>is the value to change the setting to.
The following is an example of setting
aql> set output json
The available settings are:
ECHO ( TRUE | FALSE )
The output mode.
OUTPUT ( TABLE | JSON | MUTE | RAW )
aql> set output table
Disable printing of type of the data value such as GeoJSON, LIST, MAP_KEY_ORDERED etc.
OUTPUT_TYPES (FALSE | TRUE)
Enable verbose output.
VERBOSE ( TRUE | FALSE )
The time, in milliseconds, to wait for a query to complete.
Socket idle timeout in milliseconds for a query.
The path to the user-managed Lua files.
The time, in seconds, that subsequently created or updated record will live before being evicted by the server.
Enable printing of metadata (digest, ttl, generation) of the record. Valid only in JSON view.
RECORD_PRINT_METADATA (TRUE | FALSE)
Option removed as of aql 7.0.
Flag for sending the primary key lookup request to all the replicas in round-robin manner, not just master.
REPLICA_ANY (TRUE | FALSE)
Flag for sending the key to the server in read/write/delete operations.
KEY_SEND (TRUE | FALSE)
Flag for setting policy value on the underlying C API calls used by DELETE, INSERT, EXECUTE, and SELECT (when doing a scan) operations. Applicable only for server version 3.10+. See Durable Delete for details.
DURABLE_DELETE (TRUE | FALSE)
The setting values set using aql are valid only for the current session. A new invoking of aql would have the default values.