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