Closed Intrflex closed 1 year ago
Hi @Intrflex,
Did you find a solution? $localKey
is a legacy parameter and not used anymore. This package doesn't support all cases of custom keys, but you can use https://github.com/staudenmeir/eloquent-has-many-deep for unsupported cases instead.
Setting the local key appears to do nothing, i can see in the construct you ask for it but then nothing is ever done with it, i have three tables iot, tenant_iots & tenants, iot (imei) connects to tenants_iots (imei) and tenant has a relationship via tenant_id to id
ive tried multiple variations and i just cant seem to get it to return anything since localkey isnt being respected