db_connection icon indicating copy to clipboard operation
db_connection copied to clipboard

Database connection behaviour

Results 6 db_connection issues
Sort by recently updated
recently updated
newest added

As per #260 , we wanted a way to prevent raising errors and instead return error tuples. I may be missing something - seeking some additional guidance to figure out...

The docs for `start_link` has a section on the Telemetry payload https://hexdocs.pm/db_connection/2.4.1/DBConnection.html#start_link/2-telemetry which says the `metadata` should contain a `pool`. I was interested in using that to identify which Repo...

Hello, a month ago @tverlaan reported an issue https://github.com/elixir-ecto/ecto/issues/2946 and @fishcakez made a fix https://github.com/elixir-ecto/db_connection/pull/191 with this line https://github.com/elixir-ecto/db_connection/blob/master/lib/db_connection/holder.ex#L272 I'm working in same team with @tverlaan, two weeks ago we...

This PR adds support for a `DBConnection.ConnectionPool.get_metrics()` function that returns the current state of active and waiting connections, to allow upstream callers to gain some visibility on their database usage....

**Background** I implemented data change notifications for the SQLite driver. Given a connection and a pid, whenever an insert/update/delete on the connection is performed, the SQLite NIF will send a...