Laravel по-русски
Русское сообщество разработки на PHP-фреймворке Laravel.
Ты не вошёл. Вход тут.
Страницы 1
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]]).
Страницы 1