MySQL Connector/C++
MySQL connector library for C and C++ applications
Public Types | List of all members
ClientOption Class Reference

Client creation options. More...

Public Types

enum  Enum { POOLING = - 1 , POOL_MAX_SIZE = - 2 , POOL_QUEUE_TIMEOUT = - 3 , POOL_MAX_IDLE_TIME = - 4 }
 Possible client creation options. More...
 

Detailed Description

Client creation options.

Member Enumeration Documentation

◆ Enum

enum Enum

Possible client creation options.

Enumerator
POOLING 

disable/enable the pool. (Enabled by default)

POOL_MAX_SIZE 

size of the pool. (Defaults to 25)

POOL_QUEUE_TIMEOUT 

timeout for waiting for a connection in the pool (ms). (No timeout by default)

POOL_MAX_IDLE_TIME 

time for a connection to be in the pool without being used (ms).(Will not expire by default)


The documentation for this class was generated from the following file: