SQLiteCloudConfig
Configuration for SQLite cloud connection
Table of contents
Properties
- clientId
- compression
- connectionString
- createDatabase
- database
- dbMemory
- gatewayUrl
- host
- insecure
- maxData
- maxRows
- maxRowset
- noBlob
- nonlinearizable
- password
- passwordHashed
- port
- timeout
- tlsOptions
- useWebsocket
- username
- verbose
Properties
clientId
• Optional
clientId: string
Optional identifier used for verbose logging
Defined in
compression
• Optional
compression: boolean
Defined in
connectionString
• Optional
connectionString: string
Connection string in the form of sqlitecloud://user:password@host:port/database?options
Defined in
createDatabase
• Optional
createDatabase: boolean
Create the database if it doesn’t exist?
Defined in
database
• Optional
database: string
Name of database to open
Defined in
dbMemory
• Optional
dbMemory: boolean
Database will be created in memory
Defined in
gatewayUrl
• Optional
gatewayUrl: string
Url where we can connect to a SQLite Cloud Gateway that has a socket.io deamon waiting to connect, eg. wss://host:4000
Defined in
host
• Optional
host: string
Host name is required unless connectionString is provided, eg: xxx.sqlitecloud.io
Defined in
insecure
• Optional
insecure: boolean
Connect using plain TCP port, without TLS encryption, NOT RECOMMENDED, TEST ONLY
Defined in
maxData
• Optional
maxData: number
Do not send columns with more than max_data bytes
Defined in
maxRows
• Optional
maxRows: number
Server should chunk responses with more than maxRows
Defined in
maxRowset
• Optional
maxRowset: number
Server should limit total number of rows in a set to maxRowset
Defined in
noBlob
• Optional
noBlob: boolean
Server should send BLOB columns
Defined in
nonlinearizable
• Optional
nonlinearizable: boolean
Request for immediate responses from the server node without waiting for linerizability guarantees
Defined in
password
• Optional
password: string
Password is required unless connection string is provided
Defined in
passwordHashed
• Optional
passwordHashed: boolean
True if password is hashed, default is false
Defined in
port
• Optional
port: number
Port number for tls socket
Defined in
timeout
• Optional
timeout: number
Optional query timeout passed directly to TLS socket
Defined in
tlsOptions
• Optional
tlsOptions: ConnectionOptions
Custom options and configurations for tls socket, eg: additional certificates
Defined in
useWebsocket
• Optional
useWebsocket: boolean
True if we should force use of SQLite Cloud Gateway and websocket connections, default: true in browsers, false in node.js
Defined in
username
• Optional
username: string
User name is required unless connectionString is provided
Defined in
verbose
• Optional
verbose: boolean
True if connection should enable debug logs