File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -433,7 +433,8 @@ defmodule Ecto.Integration.PreloadTest do
433433 TestRepo . all (
434434 from c in CompositePk ,
435435 join: cc in "composite_pk_composite_pk" ,
436- where: cc . a_1 in ^ composite_ids_a and cc . b_1 in ^ composite_ids_b and cc . a_2 == c . a and cc . b_2 == c . b ,
436+ on: cc . a_2 == c . a and cc . b_2 == c . b ,
437+ where: cc . a_1 in ^ composite_ids_a and cc . b_1 in ^ composite_ids_b ,
437438 order_by: [ c . a , c . b ] ,
438439 select: map ( c , [ :name ] )
439440 )
@@ -449,7 +450,8 @@ defmodule Ecto.Integration.PreloadTest do
449450 TestRepo . all (
450451 from c in CompositePk ,
451452 join: cc in "composite_pk_composite_pk" ,
452- where: cc . a_1 in ^ composite_ids_a and cc . b_1 in ^ composite_ids_b and cc . a_2 == c . a and cc . b_2 == c . b ,
453+ on: cc . a_2 == c . a and cc . b_2 == c . b ,
454+ where: cc . a_1 in ^ composite_ids_a and cc . b_1 in ^ composite_ids_b ,
453455 order_by: [ c . a , c . b ] ,
454456 select: { [ cc . a_1 , cc . b_1 ] , map ( c , [ :name ] ) }
455457 )
You can’t perform that action at this time.
0 commit comments