Why can't we just update one key within user preference instead of the entire thing?
- 1
- Auth
- Cloud
I have an issue where when I try to update one preference key-value pair, it updates the entire preferences. I'd like to only update one of these preferences and not the entire one
Just want to update one preference
self.users.update_prefs(
user_id=user_id, prefs={
key: value}
)
Instead I need to get all of the current preferences and then update the entire preferences.
Because in the database it is saved as a single string
You can't do partial updates yet only full updates.
Aaah, do you know if we have that in the pipeline somewhere?
From what I know they will work on database improvements in 1.7 so they might tackle this issue, but that is not confirmed.
Recommended threads
- Frequent 500 Internal Server Errors - Pr...
PROJECT ID: 6951f2xxxxx1ee9e750a REGION: Singapore (sgp.cloud.appwrite.io) PLAN: Pro Our production application experiences **500 Internal Server Errors** mult...
- Issue with Custom SMTP
Hey everyone, I'm facing an issue when updating my Custom SMTP settings on Appwrite Cloud. The UI fails silently (no visual errors), but when checking the cons...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...