fix missing match

This commit is contained in:
Zach Daniel 2022-12-05 18:29:22 -05:00
parent 78fcc7d534
commit ff82a057e3

View file

@ -313,10 +313,13 @@ defmodule AshPostgres.Join do
should_distinct? = should_distinct? =
case join_type do case join_type do
:left -> :left ->
:left true
{:aggregate, _, _, _} -> {:aggregate, _, _, _} ->
:left true
_ ->
false
end end
if IO.inspect(relationship.cardinality) == :many and IO.inspect(should_distinct?) && if IO.inspect(relationship.cardinality) == :many and IO.inspect(should_distinct?) &&