bun
bun copied to clipboard
Allow string array in WithConnParams
#611 This PR allows multiple parameters to WithConnParams in the form of string slice
pgdriver.WithConnParams(map[string]interface{}{
"search_path": []string{"foo", "bar"},
}),
This PR assumes that []string{"foo", "bar"}
can be appended as is and does not require any quotation which might not be the case.
Added quotation to parameters processing
could you please merge this? I met the same issue, thanks