TP5.1 failed to update data

none of these three methods will work. Why? I follow the development manual

.
Db::name("user")->where("email",$email)
->setField(["password"=>$pw,"time"=>time()]);
Db::name("user")->where("email",$email)
->update(["password"=>$pw,"time"=>time()]);
$data=["email"=>$email,"password"=>$pw,"time"=>time()];
$res=$user->isUpdate(true)->save($data);

there are no specific errors reported

Mar.16,2021

1. The reason for the first misspelling is that setField () can only update one field, but you give two fields.
2. The second way of writing is correct
3.save is that the first is the updated data with two parameters, and the second is the updated condition

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b384c9-2c109.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b384c9-2c109.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?