Updates only the encrypted columns (settings, settings_key_id) and the updated_at timestamp on a row, regardless of its deleted flag. Used by the dbcrypt key rotation utility to re-encrypt or decrypt rows in place.
(ctx context.Context, arg UpdateEncryptedAIProviderSettingsParams)
| 1251 | // Used by the dbcrypt key rotation utility to re-encrypt or decrypt |
| 1252 | // rows in place. |
| 1253 | UpdateEncryptedAIProviderSettings(ctx context.Context, arg UpdateEncryptedAIProviderSettingsParams) (AIProvider, error) |
| 1254 | UpdateEncryptedUserAIProviderKey(ctx context.Context, arg UpdateEncryptedUserAIProviderKeyParams) (UserAiProviderKey, error) |
| 1255 | UpdateExternalAuthLink(ctx context.Context, arg UpdateExternalAuthLinkParams) (ExternalAuthLink, error) |
| 1256 | // Optimistic lock: only update the row if the refresh token in the database |
no outgoing calls