mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
fix missing match
This commit is contained in:
parent
78fcc7d534
commit
ff82a057e3
1 changed files with 5 additions and 2 deletions
|
@ -313,10 +313,13 @@ defmodule AshPostgres.Join do
|
|||
should_distinct? =
|
||||
case join_type do
|
||||
:left ->
|
||||
:left
|
||||
true
|
||||
|
||||
{:aggregate, _, _, _} ->
|
||||
:left
|
||||
true
|
||||
|
||||
_ ->
|
||||
false
|
||||
end
|
||||
|
||||
if IO.inspect(relationship.cardinality) == :many and IO.inspect(should_distinct?) &&
|
||||
|
|
Loading…
Reference in a new issue