I have this function in the laravel controller
public function rawquery()
{
$resultado = DB::statement('SELECT * FROM "w8_w8shipment"');
dd($resultado);
return response()->json($resultado);
}
And this is the route to get access to it
Route::get('shipment/rawquery', 'ShipmentController@rawquery');
In the browser and postman, it shows an empty object
{}
And a 200 OK
code
I don't know what's wrong. i've already read the docs.