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
- Getting current user has been blocked
Getting current user has been blocked error while signing in the appwrite console. Got this during I am testing with the my saas web project. Please help to unb...
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub — 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a ...