0

I am trying to integrate oracle in my laravel project. There are some condition which need to do by raw queries. I tried DB::raw, DB::select, DB::select but none of them are working.

I am getting this if I use DB::raw approach:

{
    "data": {}
}

Finally I tried DB::table which is working but I can't use this approach, I want to use raw queries.

Any suggestions or reference will be helpful...

matiaslauriti
  • 7,065
  • 4
  • 31
  • 43
  • raw queries work, maybe your code is not correct see https://laravel.com/docs/master/queries#raw-expressions – nbk Mar 30 '23 at 13:48

0 Answers0