Laravel по-русски

Русское сообщество разработки на PHP-фреймворке Laravel.

Ты не вошёл. Вход тут.

#1 Re: Laravel 5.x » Не выполняется запрос на функцию в базу данных » Сегодня 09:43:45

The issue is that you’re passing Eloquent model objects to PostgreSQL instead of the actual values expected by makeorder(). Pass the boarding point, date, time, and destination as strings/parameters matching the function signature, and include the required VARIADIC destination array; for example, DB::select('SELECT makeorder(?, ?, ?, ?)', [$from, $date, $time, [$to]]).

Подвал раздела