I read about select merge
to build a query bit by bit and add it in the select and at the end we got a map with multiple select fields like this.
from p in Post, select: %{title: p.title, visits: p.visits}
Is there any other method beside that to achieve this in ecto.
Thanks.