Solved:
->join('Entradas',function ($join) {
$join->on('Entradas.paci_CodigoNumerico', '=', 'Turnos.paci_CodigoNumerico')
->on('Entradas.medi_Codigo', '=', 'Turnos.medi_Codigo')
->on('Entradas.espe_Codigo', '=', 'Turnos.espe_Codigo')
->on($this->raw('convert(varchar, Entradas.entr_Fecha, 112)'), '=', $this->raw('convert(varchar, Turnos.turn_FechaTurno, 112)'))
->on('Entradas.ubic_Codigo', '=', 'HorarioMedico.ubic_Codigo'), null, null, 'full outer';
}
Preprocessing applies transitive closure to join columns for normal equijoins if join transitive closure is enabled at the server or session.http://www.bestchristmasmessages.com/category/christmas-text-messages/
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community