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: ,