Do you want to see “SQL” you created by Ecto? | Elixir / Phoenix
1 min readMar 9, 2019
For me, I think Ecto is really kind to use among O/R Mappers I have ever used so far. However, I have felt like.., especially when the query does not work I expected, I want to see the SQL itself which has made by Ecto.
Here is the function to print the query.
I think everyone likes this!