Hello,
As example mentioned in the documentation:
In Documentation:
$userModel
->whereIn('id', [1,2,3])
->set(['active' => 1])
->update();
Changes:
$result = $this->modelPsVotes
->where('fk_id', $fkId1)
->where('fk_id', $fkId2)
->set(['name' => 'Test'])
->update();
but if I save the value in the variable
$result and print it always
1, even the data is not updated.
Any suggestion?