Closed tantanito closed 3 years ago
I cant get it into work. The recieving parameter on the report is a Collections and a type of String. What is the proper way of passing. If i change the type to single value, it will work but I need to work with arrays, for WHERE IN query.
$options = [ 'format' => ['pdf'], 'locale' => 'en', 'params' => [ 'TEST' => $request->get('prebid_ids'), // Array to String Conversion Error // 'TEST' => implode(',', $request->get('prebid_ids')), ], 'db_connection' => [ 'driver' => env('DB_CONNECTION'), 'username' => env('DB_USERNAME'), 'password' => env('DB_PASSWORD'), 'host' => env('DB_HOST'), 'database' => env('DB_DATABASE'), 'port' => env('DB_PORT') ] ]; $jasper = new PHPJasper; $jasper->process( $input, $output, $options )->execute();
Gostaria de saber a solução pfv tb, nao consigo passar uma collection
I cant get it into work. The recieving parameter on the report is a Collections and a type of String. What is the proper way of passing. If i change the type to single value, it will work but I need to work with arrays, for WHERE IN query.