Closed nunowar closed 2 years ago
Hi, I have the same problem. there are a lot of unnecessary models loaded in page
This one should be reworked to a hasOne()->ofMany()
relationship in the future - but it works.
This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days
Hi.
I would like to get only translations of the current locale.
I use:
protected $with = ['translations'];
to eager load, but I would like to know if it's possible to get only the current locale translations.Thanks.