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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...
- Got message for auto payment of 15usd fo...
how did this happen? 1. i claimed my 50usd credits via jsm hackathon - https://hackathon.jsmastery.pro/ 2. it asked me which org. to apply the credits on, i se...