func (c Config) Reparse() (Config, error) {
	cfg, err := NewConfigFromDSN(c.CreateDSN())
	if err != nil {
		return Config{}, err
	}

	cfg.IdleConnections = c.IdleConnections
	cfg.MaxConnections = c.MaxConnections
	cfg.BufferPoolSize = c.BufferPoolSize
	cfg.MaxLifetime = c.MaxLifetime

	return cfg, nil
}
// Reparse creates a DSN and reparses it, in case some values need to be coalesced.
Reparse creates a DSN and reparses it, in case some values need to be coalesced.
// Reparse creates a DSN and reparses it in case some values need to be coalesced .
func (c Config) Reparse() (Config, error) {
	cfg, err := NewConfigFromDSN(c.CreateDSN())
	if err != nil {
		return Config{}, err
	}
	cfg.IdleConnections = c.IdleConnections
	cfg.MaxConnections = c.MaxConnections
	cfg.BufferPoolSize = c.BufferPoolSize
	cfg.MaxLifetime = c.MaxLifetime
	return cfg, nil
}
func ( c Config ) Reparse ( ) ( Config , error ) { cfg , err := NewConfigFromDSN ( c . CreateDSN ( ) ) if err != nil { return Config { } , err } cfg . IdleConnections = c . IdleConnections cfg . MaxConnections = c . MaxConnections cfg . BufferPoolSize = c . BufferPoolSize cfg . MaxLifetime = c . MaxLifetime return cfg , nil }
Reparse creates a DSN and reparses it, in case some values need to be coalesced.
Reparse creates a DSN and reparses it in case some values need to be coalesced .