dream icon indicating copy to clipboard operation
dream copied to clipboard

Add `post_connect` option to `sql_pool`

Open Gusted opened this issue 1 year ago • 1 comments

Allow for a custom post_connect to run for new SQL connection, for example registering user functions for SQLite connections.

It feels like a small example can be added to h-sql, but not really sure if it fits.

Gusted avatar Jan 10 '25 06:01 Gusted

Thank you for the feedback! Incorporated it in https://github.com/aantron/dream/compare/2f03da434120ba5e6c4cbf21bc75c7e85ed0452c..1914a7e9f0edff0bb3a7ffff5454f91f6bafd521

Gusted avatar Jan 11 '25 10:01 Gusted