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
- [Solved]
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- [Solved] Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...