There’s a good reason for that. You cannot do that. Ecto queries are a DSL for SQL queries, which are sent to and executed in the database. The database has no idea about elixir. Either figure out how to do what you need to do with sql in the db or postprocess results after the query ran with Elixir.
3 Likes