OptionalaccessOptionalclientOptionalclientOperating-system username of the client. Defaults to the active Node.js user when available.
OptionalclientName and version of the client runtime. Defaults to the active platform.
OptionalconnectTimeout in milliseconds, applied separately to opening the WebSocket to each host and to the login.
When opening a WebSocket times out, the driver tries the next host; when the login times out, connect() rejects.
0, negative values and values above 2147483647 (the maximum timer delay) disable the timeout. Default: 20000
OptionalencryptionDisable encryption.
Number of bytes to fetch per request. Default: 1024 * 1024 (1 MB)
Host name, IP address or Exasol connection string (DSN) in the format host[..range][/fingerprint][:port][,host...],
e.g. exasol1..3:8563 or 10.0.0.10..12,10.0.0.20. The driver connects to one of the hosts in random order
and tries the next host if opening the WebSocket fails.
A fingerprint is the SHA-256 hash of the server certificate in hexadecimal. With a fingerprint, the driver accepts
only the certificate with this fingerprint and skips the certificate authority and host name checks.
The fingerprint nocertcheck disables the certificate check for its hosts. Fingerprints require Node.js and a
websocketFactory that creates ws WebSockets.
OptionalonCalled when an open WebSocket closes.
OptionalonCalled on WebSocket errors: when an open WebSocket reports an error, or once per connect() when no WebSocket
could be opened to any host. Not called for configuration errors such as an invalid connection string, which
reject connect() before any WebSocket is created.
OptionalpasswordExasol port, e.g. 8563. A port in the connection string in host takes precedence.
OptionalrefreshOptionalresultMaximum number of rows returned per result set. 0, a negative value or not set means no limit.
OptionalschemaOptionalurlWebsocket URL. Default: wss://<host>:<port>. This allows overriding the default URL if necessary. When set, host is not parsed as a connection string.
OptionaluserOptionalvalidateValidate the server certificate: it must be issued by a trusted certificate authority and match the host name.
Setting this to false accepts any certificate and logs a warning (visible with a logger at level Warn or
higher); it makes the connection vulnerable to man-in-the-middle attacks. A fingerprint in the connection string
takes precedence for its hosts.
Only true is supported in browsers. Default: true
Name and version of the client operating system. Defaults to the active platform.