Blog Archives

Ecto EXISTS clauses with stuff in ’em

I have always loved the EXISTS() clause in PostgreSQL. It’s a super-convenient way of finding records that have associated records in another table without actually joining that table into your main query. Great for when you’re only interested as to

Posted in Uncategorized Tagged with: ,

Sample Phoenix Framework Controller

Hi all! Happy New Year. I’ve been playing around recently with the Phoenix Framework quite a lot. While I was learning it, I found myself wishing that a full-fledged example of a traditional MVC controller existed out there. I found

Posted in Ecto, Elixir Tagged with: , ,