I am using the below to update mysql data record. The update is happening but I got the following error message when i execute it
- \koolreport\core\src\datasources\MySQLDataSource.php:388 Stack trace: #0
- \koolreport\core\src\KoolReport.php(315): koolreport\datasources\MySQLDataSource->start() #1
$this->src('simloc')->query(
DB::table('device_rates')
->where ('id',6)
->update(['rate'=>36, 'totalbase'=>1])
);