PreparedStatementConfig constructor
Creates a new PreparedStatementConfig instance.
The maxCacheSize specifies maximum number of
prepared statements per connection (default: 50).
The ttl specifies time-to-live for cache entries
(default: null = no expiration).
The enabled allows disabling cache per-connection
(default: true).
Implementation
const PreparedStatementConfig({
this.maxCacheSize = 50,
this.ttl,
this.enabled = true,
});