TIL Using raw SQL inside of Ecto.Query
Feb 7, 2019

To use raw sql in your Ecto.Query I learned there is a little helper function called `fragment`

Read More
TIL: Previewing SQL generated by Ecto.
Jan 27, 2019

To quickly see the SQL that Ecto will generate, use the `to_sq` function from the `Ecto.Adapters.SQL` module.

Read More
Inject from your controller to decouple your contexts in Phoenix.
Jan 6, 2019

In this post I will show you a simple pattern to decouple your Phoenix context so that you can specify from your controller how you want to preload your resource.

Read More