ash_postgres/lib/custom_aggregate.ex
Zach Daniel e271a27d3c improvement: avg/min/max/custom aggregate support
fix: fix various problems with the model behind aggregates
2022-12-07 20:32:38 -05:00

9 lines
230 B
Elixir

defmodule AshPostgres.CustomAggregate do
@callback dynamic(opts :: Keyword.t(), binding :: integer) :: Ecto.Query.dynamic()
defmacro __using__(_) do
quote do
@behaviour AshPostgres.CustomAggregate
end
end
end