Answer the question
In order to leave comments, you need to log in
How to create SQL query without constructor in Laravel 5.2?
I do not need to make a SELECT or INSERT query, I understand that it is easier and better to do this with a constructor. However, I need to run a procedure located on MsSQL Server. Can this be done with a constructor? If not, then how can you write a request in Laravel 5.2 in a servile way?
Answer the question
In order to leave comments, you need to log in
configure the connection to mssql in the config and work as if nothing had happened,
but if you want to write queries manually, there is always DB::raw
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question