File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1189,11 +1189,11 @@ defmodule AshPostgres.DataLayer do
1189
1189
destination in query ,
1190
1190
select_merge: % { __order__: over ( row_number ( ) , :order ) } ,
1191
1191
join:
1192
- through in ^ set_subquery_prefix (
1192
+ through in subquery ( set_subquery_prefix (
1193
1193
through_query ,
1194
1194
source_query ,
1195
1195
relationship . through
1196
- ) ,
1196
+ ) ) ,
1197
1197
as: ^ through_binding ,
1198
1198
on:
1199
1199
field ( through , ^ destination_attribute_on_join_resource ) ==
@@ -1227,11 +1227,11 @@ defmodule AshPostgres.DataLayer do
1227
1227
from (
1228
1228
destination in query ,
1229
1229
join:
1230
- through in ^ set_subquery_prefix (
1230
+ through in subquery ( set_subquery_prefix (
1231
1231
through_query ,
1232
1232
source_query ,
1233
1233
relationship . through
1234
- ) ,
1234
+ ) ) ,
1235
1235
as: ^ through_binding ,
1236
1236
on:
1237
1237
field ( through , ^ destination_attribute_on_join_resource ) ==
Original file line number Diff line number Diff line change @@ -533,6 +533,7 @@ defmodule AshPostgres.Test.Post do
533
533
public? ( true )
534
534
535
535
destination_attribute ( :post_id )
536
+ filter expr ( not is_nil ( post . id ) )
536
537
end
537
538
538
539
many_to_many :co_authors , AshPostgres.Test.Author do
You can’t perform that action at this time.
0 commit comments