Oh I see your problem. Yeah then you have to use fragment. Ecto doesn’t have any other way to call functions that are not specially built into the query API listed here: Ecto.Query.API — Ecto v3.8.4.
1 Like