Ecto
Mix.install([
{:ecto, "~> 3.11"},
{:postgrex, "~> 0.18.0"}
])
Postgrex
{:ok, pid} =
Postgrex.start_link(
hostname: "localhost",
username: "postgres",
password: "postgres",
database: "postgres"
)
Postgrex.query!(pid, "select * from qrtz_locks", [])