Closed Fishrock123 closed 3 years ago
It would be nice to support the full range of PoolOptions that SQLx exposes.
PoolOptions
I think it would be unwieldy to duplicate all of these functions. I think a with_options(options: PoolOptions) or similar would be ideal.
with_options(options: PoolOptions)
However we probably do want to support connect_with(ConnectOptions) somehow, since some options, such as log filtering, are only available from ConnectOptions.
connect_with(ConnectOptions)
ConnectOptions
Done in https://github.com/eaze/tide-sqlx/pull/6
It would be nice to support the full range of
PoolOptions
that SQLx exposes.I think it would be unwieldy to duplicate all of these functions. I think a
with_options(options: PoolOptions)
or similar would be ideal.However we probably do want to support
connect_with(ConnectOptions)
somehow, since some options, such as log filtering, are only available fromConnectOptions
.