Ecto subqueries with virtual fields?

well yes, but is a bit less handy when your query is dynamic and you don’t know the model.
Maybe with a little more boilerplate to create the map (mmmh but then it will need to be interpolated, did not tried it yet)