elixir-sqlite / exqlite

An SQLite3 driver for Elixir
https://hexdocs.pm/exqlite
MIT License
198 stars 46 forks source link

Adding before_disconnect hook #271

Closed jeregrine closed 8 months ago

jeregrine commented 8 months ago

This is useful with some extensions like cr-sqlite that require a cleanup setup before disconnect/close, which is not un-common.

I thought maybe this would work in db_connection but I don't know if its general enough for ALL db connections and ahh touching that state machine is the worst.

jeregrine commented 8 months ago

<3 for prompt feedback

warmwaffles commented 7 months ago

@jeregrine I'll be cutting a release for this soon.

jeregrine commented 7 months ago

@warmwaffles no rush here <3 thanks

warmwaffles commented 7 months ago

This will be released under v0.17.0