Solution:
If you want to execute raw SQL rather than using a query builder, you can try:
$results = DB::select("SELECT * ..")
More here: https://laravel.com/docs/5.8/database#running-queries
Solution:
If you want to execute raw SQL rather than using a query builder, you can try:
$results = DB::select("SELECT * ..")
More here: https://laravel.com/docs/5.8/database#running-queries