elixir-ecto / db_connection

Database connection behaviour
http://hexdocs.pm/db_connection/DBConnection.html
306 stars 113 forks source link

Introduce status/2 #90

Closed fishcakez closed 7 years ago

fishcakez commented 7 years ago

Returns :idle | :transaction | :error and does not raise. Change handle_begin/rollback/commit returns to match status and deprecate their error exception tuples. Disconnect should always be used there.