-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I've recently been developing a GUI client, and when calling the CredsUpdate function of rpc-creds, it succeeds when I try to change isCracked from false to true, but fails when I change it from true to false.
when isCracked sent to server is false, SQL execution will not proceed.

the log showed no output.
In conclusion, the gorm framework, by default, does not include fields with zero values, such as false, in the SQL statement execution.
https://gorm.io/docs/update.html#Updates-multiple-columns
Therefore, I have optimized the following code, and I hope it will be adopted.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working