Skip to content

Beast mode 🦍

Latest
Compare
Choose a tag to compare
@swlkr swlkr released this 21 Dec 06:03
· 9 commits to master since this release

You can now put edn stuff and sql stuff side by side in where clauses 🎉

Like this:

(q [:select :post/published-at
    :joins :post/member
    :where ["post.published_at > ?" start-date]
           [:post/member '?member/id]
    :order :post/published-at :desc]
   {:member/id member-id})

It's always a hassle to make a sql file and call defq just because of a > or a between ? and ? NOW YOU DON'T HAVE TO