We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f44148 commit 60ab568Copy full SHA for 60ab568
lib/data_layer.ex
@@ -3139,6 +3139,14 @@ defmodule AshPostgres.DataLayer do
3139
changeset.context
3140
)
3141
|> pkey_filter(changeset.data)
3142
+ |> then(fn query ->
3143
+ if changeset.tenant do
3144
+ set_tenant(resource, query, changeset.tenant)
3145
+ |> elem(1)
3146
+ else
3147
+ query
3148
+ end
3149
+ end)
3150
|> then(fn query ->
3151
Map.put(
3152
query,
0 commit comments