S
S
Stepan2016-06-23 15:33:54
Laravel
Stepan, 2016-06-23 15:33:54

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

1 answer(s)
S
Samuel_Leonardo, 2016-06-23
@KonstantinovS

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 question

Ask a Question

731 491 924 answers to any question