Answer the question
In order to leave comments, you need to log in
How to get an array with keys in Laravel through the DB facade, in which the values of the desired uniques. fields?
Goodnight.
I can add to the title of the question only that I write the request not through the builder, but with my hands:
In the same Kohana, it was possible to solve my question like this:DB::select("select..", ['foo' => 'bar'])
Database::instance()->query(Database::SELECT, $sql, true)->as_array('id');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question