OptionalmaxMaximum number of connections in the pool
OptionalminMinimum number of idle connections to maintain
OptionalacquireMaximum time in milliseconds to wait for a connection to become available
OptionalidleMaximum time in milliseconds that a connection can be idle before being evicted
OptionalevictInterval in milliseconds to check for idle connections to evict
OptionalhandleWhether to automatically handle disconnects
OptionalonCallback when a connection is acquired from the pool
OptionalonCallback when a connection is released back to the pool
OptionalenableEnable pool event emission (for monitoring/debugging)
OptionallogLog pool operations (acquire, release, etc.)
Connection-pool sizing and lifecycle. A pooled connection is shared, so session state set on one query is not guaranteed to be visible to the next — use
onConnectfor settings that must apply to every connection.