Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Ecto

livebooks/elixir/ecto.livemd

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", [])