I am using the package with filament, I have a Recipe model and a RecipeTranslation
It is creating/updating the recipe_translations table fine,
but I see in telescope that it is looping over the whole Recipes Table records instead of doing it by the RecipeResource recipe_id
select
*
from
`recipe_translations`
where
`recipe_translations`.`recipe_id` = 1000
and `recipe_translations`.`recipe_id` is not null
before the foreach it is doing:
select
distinct `recipes`.*
from
`recipes`
left join `recipe_related_dish` on `recipes`.`id` = `recipe_related_dish`.`related_recipe_id`
I am using the package with filament, I have a Recipe model and a RecipeTranslation
It is creating/updating the recipe_translations table fine, but I see in telescope that it is looping over the whole Recipes Table records instead of doing it by the RecipeResource recipe_id
before the foreach it is doing: