Closed GerarPacheco closed 1 year ago
I have done this with joins.
$q = Registries::query()->where('metas->name', $this->registry_name)
->join('clients','registries.metas->client_id','=','clients.id');
So no "with()" as I couldn't reach it in column definition.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Hello I have a pretty strange problem ... I do not know what may be happening and I hope you can help me solve my mistake I'm using the datatable service implementation Laravel 5.6
When I call the columns in this way, the only problem I get is that they do not execute the relationship with the users table
The answer via xhr is correct
But when I refer to the user relationship in the columns, the data is overwritten.
Staying in this way
Thanks for your time Bye