Updates values in all entries matching $filter from the users table. This field only accepts updates to the password, using a field named 'newpassword'
Parameters
$filters | The filter specifies the range of data to act upon. Empty arrays are not allowed. |
---|
$newdata | The new data to apply to the matched records. This must only contain an object with one property called 'newpassword', and the password set to the new value. |
---|
Return value
The method returns a status object indicating the number of rows updated.