Of a question, I was given a way to query with child objects using the Join of eloquent, The query is below:
$dados = Roda::join('veiculos', function($query) {
$query->on('veiculos.id', '=', 'rodas.veiculo_id');
$query->where('ve...
asked by
17.10.2017 / 14:12