Queries to make on new connection
reynir opened this issue · 2 comments
reynir commented
I am using the sqlite3 backend, and I would like to set enforcement of foreign key constraints. This needs to be done on every connection. What's the best way to go around this? I think it's not super obvious what's the best way to go around this, especially when using a pool.
paurkedal commented
I just added a ?post_connect
parameter to connect_pool
(6b253ff) this weekend, maybe that's what you need?
reynir commented
Yes! That's perfect. Thanks!