Miscellaneous
This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.
Property | Description |
AllowUserVariables | When set to True, user variables (prefixed by an @) can be used in SQL queries. |
BatchSize | Specifies the maximum number of rows included in each batch operation. Set to 0 to submit the entire batch as a single request. |
Characterset | The default client character set used by the provider. For example, 'utf8'. |
ConnectionAttributes | A list of Partner Connection Metrics, expressed as key-value pairs. |
ConnectionLifeTime | Specifies the maximum lifetime of a connection in seconds. When the specified time elapses, the provider closes the connection. Set to 0 or leave empty for no time limit. |
ConnectOnOpen | Specifies whether the provider establishes a connection to SingleStore immediately upon opening the connection. The default value is false. Enable this property only if immediate connectivity verification is necessary. |
MaxRows | Specifies the maximum rows returned for queries without aggregation or GROUP BY. |
Other | Specifies additional hidden properties for specific use cases. These are not required for typical provider functionality. Use a semicolon-separated list to define multiple properties. |
PoolIdleTimeout | Specifies the maximum idle time, in seconds, that a connection can remain in the pool before being closed. |
PoolMaxSize | Specifies the maximum number of connections allowed in the connection pool. The default value is 100. Set to 0 or a negative value to disable pooling. |
PoolMinSize | Specifies the minimum number of connections maintained in the connection pool. The default value is 1. |
PoolWaitTime | Specifies the maximum number of seconds a connection request waits for an available connection in the pool. If the wait exceeds this time, an error is returned. The default is 60 seconds. |
QueryPassthrough | This option passes the query to the SingleStore server as is. |
Readonly | Toggles read-only access to SingleStore from the provider. |
RTK | Specifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. Use this property only in environments where the standard licensing method is unsupported or requires a runtime key. |
Timeout | The value in seconds until the connection timeout error is thrown. |
UseConnectionPooling | Enables the connection pooling feature, which allows the provider to reuse existing connections instead of creating new ones for each request. |
ZeroDatesToNull | Whether or not to return Date and DateTime values consisting of all zeros as NULL. |