Update returns a builder for updating this APIToken. Note that you need to call APIToken.Unwrap() before calling this method if this APIToken was returned from a transaction, and the transaction was committed or rolled back.
()
| 233 | // Note that you need to call APIToken.Unwrap() before calling this method if this APIToken |
| 234 | // was returned from a transaction, and the transaction was committed or rolled back. |
| 235 | func (_m *APIToken) Update() *APITokenUpdateOne { |
| 236 | return NewAPITokenClient(_m.config).UpdateOne(_m) |
| 237 | } |
| 238 | |
| 239 | // Unwrap unwraps the APIToken entity that was returned from a transaction after it was closed, |
| 240 | // so that all future queries will be executed through the driver which created the transaction. |
nothing calls this directly
no test coverage detected