Closed laxmikantG closed 9 years ago
you can use lists:filter to filter query results
I just use SQL when queries are more complex - find_by_sql
for instance.
@davidw, that not our case, cause you doing two queries anyway.
@danikp @davidw
Thanks for your suggestions. lists:filter worked for me. But still I would expect that as a feature.
Thnk you
I am using
boss_db
witherlang
andchicagoboss
. Right now, I'm making two separate queries for a result. Which I assume can be done in one query but don't know how.Query1
Query2
Is there any way to achieve this in one query? like: