I have a procedure stored in mysql that returns 3 tables, but when invoking it with laravel it only shows me the contents of the first table.
route::get('/prueba/{id}','Emergencia\AsistenciaMedicaController@prueba');
public function prueba($id) {
> dd ($this->EmergenciaProcedure->prueba()) ;
> //dd($datos);
> //dd( DB::select('exec prueba '));
> }
>
> public function prueba() {
> return \DB::select('call prueba');
> }
I leave the route, the function, the method to call the sp
image 1 is the sp in mysql, the second as the content in the browser is displayed