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
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Create a new paid tier
Current pricing seems reasonable enough about what is someone getting for 25$. But for some people most of these resouces are getting wasted. Like the bandwidt...