We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f23769 commit 5ba0965Copy full SHA for 5ba0965
lib/calculation.ex
@@ -212,6 +212,7 @@ defmodule AshSql.Calculation do
212
end
213
214
query = Ecto.Query.select_merge(query, ^calcs)
215
- put_in(query.__ash_bindings__[:select_calculations], Map.keys(calcs))
+ select_calculations = Map.keys(calcs) |> Enum.reject(&(&1 == :calculations))
216
+ put_in(query.__ash_bindings__[:select_calculations], select_calculations)
217
218
0 commit comments