Ozzie Neher
Ozzie Neher

Ozzie Neher

Follow

Querying raw SQL with Elixir and Ecto

Mar 9, 20231 min read

TL;DR: alias MyApp.{Repo, Animal} sql = "SELECT * FROM animals WHERE legs > $1" params = [2] %{rows: rows, columns: columns} = Repo.query!(sql,...

Querying raw SQL with Elixir and Ecto
Using React with Laravel Jetstream